summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-10-13 20:29:42 +0000
committerDries Buytaert <dries@buytaert.net>2008-10-13 20:29:42 +0000
commitf7e61d77e96b1f67b1ea58273a0cfc8020715f65 (patch)
tree3ca250e31d923a2943f1878788d9f3aa41d40b4d /modules/system/system.install
parent0ff80347a0268b630aa078be3dee3e16d34bc17f (diff)
downloadbrdo-f7e61d77e96b1f67b1ea58273a0cfc8020715f65.tar.gz
brdo-f7e61d77e96b1f67b1ea58273a0cfc8020715f65.tar.bz2
- Patch #296321 by pwolanin, swentel: link to cron.php broken when clean URLs are disabled.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 28834f8a3..dbd6c8f29 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -10,6 +10,7 @@
* An array of system requirements.
*/
function system_requirements($phase) {
+ global $base_url;
$requirements = array();
// Ensure translations don't break at install time
$t = get_t();
@@ -171,7 +172,7 @@ function system_requirements($phase) {
}
$description .= ' ' . $t('You can <a href="@cron">run cron manually</a>.', array('@cron' => url('admin/reports/status/run-cron')));
- $description .= '<br />' . $t('To run cron from outside the site, go to <a href="!cron">!cron</a>', array('!cron' => url('cron.php', array('absolute' => TRUE, 'query' => 'cron_key=' . variable_get('cron_key', 'drupal')))));
+ $description .= '<br />' . $t('To run cron from outside the site, go to <a href="!cron">!cron</a>', array('!cron' => url($base_url . '/cron.php', array('external' => TRUE, 'query' => 'cron_key=' . variable_get('cron_key', 'drupal')))));
$requirements['cron'] = array(
'title' => $t('Cron maintenance tasks'),