PDA

View Full Version : $_SERVER['DOCUMENT_ROOT'] - slash added in pathname?


SkyNet
10-19-2005, 02:07 PM
I don't know if this is a bug in LSWS or in PHP, but it is annoying.

When running LSWS 2.1.3, a slash is added to the document root predefined variable like:

/home/httpd/vhosts/domain.com/httpdocs/

When running Apache 2.0.46, the variable is defined without the slash at the end:

/home/httpd/vhosts/domain.com/httpdocs

mistwang
10-19-2005, 02:42 PM
OK, we will remove the trailing '/' in new release.