$_SERVER['DOCUMENT_ROOT'] - slash added in pathname?

#1
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
 
Top