summaryrefslogtreecommitdiff
path: root/cron.php
diff options
context:
space:
mode:
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/cron.php b/cron.php
index f242ee782..e40dc2d9b 100644
--- a/cron.php
+++ b/cron.php
@@ -8,4 +8,6 @@
include_once './includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
-drupal_cron_run();
+if (isset($_GET['cron_key']) && variable_get('cron_key', 'drupal') == $_GET['cron_key']) {
+ drupal_cron_run();
+} \ No newline at end of file