The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
how do i include global.php into a non vb page so i can get all its info etc from it
when i include it it cant find things in other files becuase all my sttuff is in /forums and my website is in root. if i put all the paths in i get a blank page. any idea why and how to fix this? thanx Damon Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
You need to change directory first before requiring global.php.
For example: Code:
chdir('./forums');
require('global.php');
|
![]() |
|
|