KingOfHeart Posted May 13, 2010 Share Posted May 13, 2010 I have a function in the file global.php which is located on the main directory of my site. this function checks the folder "test" Now when I include global.php (I use include because there's more to it then just functions) from the same directory everything is fine. Now what's the best method to use this function from a subfolder and still have it check the "test" folder? Link to comment https://forums.phpfreaks.com/topic/201645-how-should-i-do-this/ Share on other sites More sharing options...
teamatomic Posted May 13, 2010 Share Posted May 13, 2010 use absolute paths and url's. HTH teamatomic Link to comment https://forums.phpfreaks.com/topic/201645-how-should-i-do-this/#findComment-1057793 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.