Jump to content

How should I do this?


KingOfHeart

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.