Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/f5e570384533674a#
I noticed that if RegularEvents run through a cron (file /tools/
...
cron.php), then the script runs with a constant "define ('ADMIN', 1);".
...
If in the adm.console start from cron is switched off, then
...
RegularEvents are processed on Front-end. Because of this the result
...
of RegularEvents may differ significantly.
For example, if you want to
...
parse some template in the RegularEvent, then when you run via
...
cron.php - the template file will be matched within admin_templates,
...
and if on the the Front-end - in themes.
Maybe is necessary to make RegularEvents always run the same way -
either in admin or as a front-end - regardless of whether cron is
enabled or not.
Related Tasks
Jira Legacy | ||||||||
---|---|---|---|---|---|---|---|---|
|