04-04-2008, 11:50 AM
|
#7 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
To always reference the path to the file with the include call in it, you can use the dirname function with an argument using the constant __FILE__, the latter always giving the path to the file it is used in. So used from admin/edit/tab.php: include dirname(__FILE__).'/../../includes/config.php';
It might, or might not, prove useful to you. 
|
|
|
|