If I create a custom script that calls global.php to check permissions, it works fine
as long as it's in the forum root. If the script does not reside there, I get this error...
Quote:
PHP Fatal error: main(): Failed opening required './includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/site/public_html/forums/global.php on line 18
|
How can this be made to work?
Thanks
PS It's not a path issue to global.php if that's your first thought. You can see from the error, that the script is finding it.