04-03-2008, 11:37 PM
|
#5 (permalink)
|
|
The Wanderer
Join Date: Apr 2008
Posts: 8
Thanks: 2
|
To stop this issue cropping up at all, use $_SERVER['DOCUMENT_ROOT']. This will automatically go to your root dir:)
you'd just put include($_SERVER['DOCUMENT_ROOT']."/website/includes/config.php");
works in any directory
|
|
|
|