I found that by taking out the 'DOCUMENT_ROOT' directive, it would just stick to what I specified within the config file.
Code: Select all
define ("PHPWCMS_ROOT", preg_replace('/\/$/', '', $_SERVER['DOCUMENT_ROOT']).(($phpwcms["root"]) ? "/".$phpwcms["root"] : "") );
Code: Select all
define ("PHPWCMS_ROOT", (($phpwcms["root"]) ? "/".$phpwcms["root"] : "") ); // DOCUMENT_ROOT + phpwcms directory