Posted on 2015-02-16
I have a file located here:
There is a line that contains:
include( dirname(__FILE__).'/config.php' );
But I need to use this for various projects that link to different databases and i don't think I want all the files in DataTables in each project folder. So I need config to be in each project folder:
Instead of using dirname(__FILE__) Is there a way that I can get to the correct project? or is dirname going to return what I want?