Closed aaronweatherall closed 11 years ago
Replaced $_SERVER['DOCUMENT_ROOT'] with str_replace($_SERVER['SCRIPT_NAME'], '', $_SERVER['SCRIPT_FILENAME']) to fix bug with vhost_alias in Apache 2.x
Replaced $_SERVER['DOCUMENT_ROOT'] with str_replace($_SERVER['SCRIPT_NAME'], '', $_SERVER['SCRIPT_FILENAME']) to fix bug with vhost_alias in Apache 2.x