diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-03-17 16:53:58 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-03-17 16:53:58 +0000 |
commit | 45097b78b7ff86e2d5ecd53d9926204d52c87955 (patch) | |
tree | 57fdb6b07f08dfce2bd220ff4452b729704043dd /cron.php | |
parent | 2e2c2bcac0ee76a081242ab8124c102fd4bda72b (diff) | |
download | brdo-45097b78b7ff86e2d5ecd53d9926204d52c87955.tar.gz brdo-45097b78b7ff86e2d5ecd53d9926204d52c87955.tar.bz2 |
- Patch #52910 by kbahey, keith.smith, Susurrus, et al: restict access to cron.php.
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |