Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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.

  • No labels