the config file is in the include/ folder. If i am trying to include this config file into a script thats in /ADMIN/somefile.php:
$includeDirectory = './includes/' is not going to work because it will be looking for the config file in the same dir which is the ADMIN dir
$includeDirectory = '../includes/'; is not going to work if i am trying to include the config file into a script thats is say ADMIN/ANOTHER_DIR/somefile.php
THis seems to be a very common issue for any site that has different directories. there has to be a simple solution to this. FYI: I dont want to set it in my php.ini file