The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
NOTE: I just posted this in the wrong forum. Sorry. :hurt:
I have a script that I want to run as a cron job and that needs to be vBulletin enabled. This scriptwill be ran by my server's cron system and the not the built in vBulletin cron system. I'm running into a problem whenever I try to include "global.h", like below: PHP Code:
Unable to add cookies, header already sent I'm guessing that something in global.php is expecting a browser. Is there anyway to include the vBulletin framework in a console script? |
#2
|
||||
|
||||
![]()
I use this in one and works fine. Script is in forumhome so you will need to alter the path to suite your needs if it's located elsewhere.
PHP Code:
|
#3
|
|||
|
|||
![]()
That works perfectly! Thank you!!
|
#4
|
||||
|
||||
![]()
Your welcome.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|