The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hey I'm trying to add a script outside the main directory for the vb.
http://main_forums.com/dir I found a post about the opposite direction in the template it states: Code:
// chdir ('./');
require_once('./global.php');
the php file that I am trying to get to show up is in the /dir where the main vb is in the URL root. |
|
#2
|
|||
|
|||
|
Quote:
Code:
chdir ('..');
require_once('./global.php');
or else use the full absolute path to your forum directory (the os path, not the one you use in a url). |
|
#3
|
|||
|
|||
|
Thanks I'll give that a shot and let you know if it was a success or not!
--------------- Added [DATE]1362939323[/DATE] at [TIME]1362939323[/TIME] --------------- Thanks a bunch that solved that issue! |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|