diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-05-09 19:23:48 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-05-09 19:23:48 +0000 |
commit | 37a36275d4554ec7e10064d0a72b3a0cf01282c3 (patch) | |
tree | 1687c0eaca564620091e4be8bb0239c2089b9e56 /cron.php | |
parent | 0aec71aa560b4bfd7a5f56d75adc6b8bfc46e307 (diff) | |
download | brdo-37a36275d4554ec7e10064d0a72b3a0cf01282c3.tar.gz brdo-37a36275d4554ec7e10064d0a72b3a0cf01282c3.tar.bz2 |
- Modified patch #256509 by dropcube: report when an invalid cron key is used.
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -10,4 +10,7 @@ include_once './includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); if (isset($_GET['cron_key']) && variable_get('cron_key', 'drupal') == $_GET['cron_key']) { drupal_cron_run(); -}
\ No newline at end of file +} +else { + watchdog('cron', 'Cron did not run because an invalid key used.', array(), WATCHDOG_NOTICE); +} |