summaryrefslogtreecommitdiff
path: root/cron.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-05-26 17:24:42 +0000
committerDries Buytaert <dries@buytaert.net>2008-05-26 17:24:42 +0000
commitfe7761fc54a955f3b69956e1493feab57b4df64c (patch)
tree2b8796bc54fb1168c893bfd11ff4e757521428a3 /cron.php
parent7804e634d610b03dc5d318143c5bdcfe1b118bf0 (diff)
downloadbrdo-fe7761fc54a955f3b69956e1493feab57b4df64c.tar.gz
brdo-fe7761fc54a955f3b69956e1493feab57b4df64c.tar.bz2
- Patch #256509 by dropcube: return a 403 - access denied when an invalid cron key is used.
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/cron.php b/cron.php
index cc6f4bffc..063b1feef 100644
--- a/cron.php
+++ b/cron.php
@@ -13,4 +13,5 @@ if (isset($_GET['cron_key']) && variable_get('cron_key', 'drupal') == $_GET['cro
}
else {
watchdog('cron', 'Cron did not run because an invalid key used.', array(), WATCHDOG_NOTICE);
+ drupal_access_denied();
}