![]() |
StyleVars in Cron
How would I generate/access the $stylevar array during a cron job?
Thanks |
You don't, since a cronjob is not associated with a user or a session and is ment for batch purposes only, i guess there will be no style information loaded.
You would need to load the style information yourself. |
Quote:
|
If everyone cares, I just had to use similar code to what global.php has (fetches info from database, then I beleive it was fetch_styleinfo and feed it the data from the database.
|
All times are GMT. The time now is 03:06 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|