|
From: Joe z. <jz...@at...> - 2002-06-22 05:00:51
|
Rene, There's a problem with $siteroot if I put the bobs web pages in my /home/joe/public_html directory and access it as http://jupiter.zebra.com/~joe/bobs/admin.php. $siteroot evaluates to "/var/www/html/~joe/bobs", when it needs to be "/home/joe/public_html/bobs" for the includes in admin.php to work right. There's some url conversion going on because of the "UserDir public_html" directive in httpd.conf. If I change the includes from: require($siteroot . "/inc/config.php"); to require("inc/config.php"); then it works. As long as the "inc" files are relative to the specified path, it should be okay. I'd like your opinion on that - whenever - there's no rush. Joe |