The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Simple scripting question
Warning: include_once(./global.php) [function.include-once]: failed to open stream: No such file or directory in wp-plugins/vbbridge/vbloader.php on line 16
because of this include_once('./global.php'); the global php is in this directory /public_html/4tiControl/vb how do i change the above to make it look in this folder Thanks |
#2
|
|||
|
|||
You need to do something like this:
Code:
$curdir = getcwd (); chdir('/public_html/4tiControl/vb'); require_once('./global.php'); chdir ($curdir); because the vb code won't work right unless the current directory is the one with global.php. |
#3
|
|||
|
|||
cool thanks
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|