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

Discussion in 'Bug Reports' started by SkyNet, Oct 19, 2005.

  1. SkyNet

    SkyNet New Member

    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
  2. mistwang

    mistwang LiteSpeed Staff

    OK, we will remove the trailing '/' in new release.

Share This Page