Lampwrights Forum > Search Forums

Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: Jeff
Forum: vBulletin Talk 02-23-2012, 05:25 PM
Replies: 0
Views: 16,824
Posted By Jeff
Including global.php in a function

It is not easy including vbulletins global.php file inside a function or method. I have tinkered around with it a bit and found some ways to do it:

$cwd = getcwd();

chdir('/PATH/TO/VB');
...
Showing results 1 to 1 of 1

 

All times are GMT -4. The time now is 10:26 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2020, vBulletin Solutions, Inc.