Rev 669 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 669 | Rev 849 | ||
---|---|---|---|
Line 20... | Line 20... | ||
20 | 20 | ||
21 | // In order to make the system faster, call this script regularly using crontabs |
21 | // In order to make the system faster, call this script regularly using crontabs |
22 | // Example: The automatic publishing of OIDs will then be done by this script |
22 | // Example: The automatic publishing of OIDs will then be done by this script |
23 | // and not by a random visitor. |
23 | // and not by a random visitor. |
24 | 24 | ||
25 | // TODO: set a global flag that tells the plugins whether we are calling from crontab, |
- | |
26 | // so that auto publishing et al prefer cron calls and only execute their code |
- | |
27 | // for random visitors, if the crontab is not running. |
- | |
28 | 25 | ||
29 | try { |
26 | try { |
30 | require_once __DIR__ . '/includes/oidplus.inc.php'; |
27 | require_once __DIR__ . '/includes/oidplus.inc.php'; |
31 | 28 | ||
32 | ob_start(); |
29 | ob_start(); |