The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
How to include global.php from up two directories and down one directory
I got two files
/home/flowgrap/public_html/ig/cp/includes/cookie.php PHP Code:
Code:
Warning: require_once(/home/flowgrap/public_html/ig/cp/includes/init.php) [function.require-once]: failed to open stream: No such file or directory in /home/flowgrap/public_html/ig/forums/global.php on line 20 Fatal error: require_once() [function.require]: Failed opening required '/home/flowgrap/public_html/ig/cp/includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/flowgrap/public_html/ig/forums') in /home/flowgrap/public_html/ig/forums/global.php on line 20 Code:
The Normal VBulletin 3.8.1 global.php Code here So I understand that it's trying to require the files from inside my current directory, even though I changed the include path. How do I fix it so that the global.php loads the vbulletin files in the vbulletin directory, instead of the current one? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|