The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
possible to include(global.php) in a class?
Hello, here's my test case (php4):
Test.php PHP Code:
dotest.php PHP Code:
Code:
Fatal error: Call to a member function on a non-object in (snip)talk/includes/functions.php on line 1154 Is it possible to create a $vbulletin registry object inside of a class? I did a search and attempted using the solution proposed Here by kolita, and that gives me a vbulletin object that has all the standard properties and that I can enumerate, but only if I skip creating a session (meaning my userinfo array is empty), and this is useless for me. i.e. if I comment out Code:
define('SKIP_SESSIONCREATE', 1); Anyone have some insight? I'm trying to build a amfphp connector to vbulletin and i'm truly stumped. thanks |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|