? make-plain-title-242873-73.patch
? make-plain-title-notest-242873-83.patch
? system-cron-296321-7.patch
? system-cron.patch
? title-test-only-242873-83.patch
? sites/default/files
? sites/default/settings.php
Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.271
diff -u -p -r1.271 system.install
--- modules/system/system.install 12 Oct 2008 04:30:08 -0000 1.271
+++ modules/system/system.install 12 Oct 2008 23:15:33 -0000
@@ -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 run cron manually.', array('@cron' => url('admin/reports/status/run-cron')));
- $description .= '
' . $t('To run cron from outside the site, go to !cron', array('!cron' => url('cron.php', array('absolute' => TRUE, 'query' => 'cron_key=' . variable_get('cron_key', 'drupal')))));
+ $description .= '
' . $t('To run cron from outside the site, go to !cron', 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'),
Index: modules/system/system.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.test,v
retrieving revision 1.19
diff -u -p -r1.19 system.test
--- modules/system/system.test 12 Oct 2008 06:27:05 -0000 1.19
+++ modules/system/system.test 12 Oct 2008 23:15:33 -0000
@@ -234,18 +234,19 @@ class CronRunTestCase extends DrupalWebT
* Test cron runs.
*/
function testCronRun() {
+ global $base_url;
// Run cron anonymously without any cron key.
- $this->drupalGet('cron.php');
+ $this->drupalGet($base_url . '/cron.php', array('external' => TRUE));
$this->assertResponse(403);
// Run cron anonymously with a random cron key.
$key = $this->randomName(16);
- $this->drupalGet('cron.php', array('query' => 'cron_key=' . $key));
+ $this->drupalGet($base_url . '/cron.php', array('external' => TRUE, 'query' => 'cron_key=' . $key));
$this->assertResponse(403);
// Run cron anonymously with the valid cron key.
$key = variable_get('cron_key', 'drupal');
- $this->drupalGet('cron.php', array('query' => 'cron_key=' . $key));
+ $this->drupalGet($base_url . '/cron.php', array('external' => TRUE, 'query' => 'cron_key=' . $key));
$this->assertResponse(200);
// Execute cron directly.