Auto-detected web-root path no longer omits first character.

The first character of the directory immediately following the server name was missing e.g., `http://example.com:8080/penemr` instead of `http://example.com:8080/openemr`
If I had a nickel for ever time I've been bitten by a zero-indexed string...