I tried to import it like so from my file:
Quote:
chdir("$DOCUMENT_ROOT/forum/");
require_once("./global.php");
|
But then it comes with this error:
Quote:
Warning: main(./includes/init.php): failed to open stream: No such file or directory in <.Dir to forum folder>/global.php on line 18
Fatal error: main(): Failed opening required './includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in <.Dir to forum folder>/global.php on line 18
|