1 diff -uNdr drupal-5.7.old/cron.php drupal-5.7/cron.php
2 --- drupal-5.7.old/cron.php 2006-08-09 09:42:55.000000000 +0200
3 +++ drupal-5.7/cron.php 2008-02-16 15:50:48.000000000 +0100
10 * Handles incoming requests to fire off regularly-scheduled tasks (cron jobs).
13 +// If not in 'safe mode', increase the memory limit
14 +if (!ini_get('safe_mode')) {
15 + ini_set('memory_limit', '20M');
18 +chdir(dirname(__FILE__));
20 include_once './includes/bootstrap.inc';
21 drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
23 --- drupal-6.16/includes/bootstrap.inc~ 2010-05-04 18:27:27.000000000 +0300
24 +++ drupal-6.16/includes/bootstrap.inc 2010-05-04 18:31:49.802495730 +0300
26 $_SERVER['HTTP_HOST'] = '';
29 - if (file_exists('./'. conf_path() .'/settings.php')) {
30 - include_once './'. conf_path() .'/settings.php';
31 + if (file_exists(conf_path() .'/settings.php')) {
32 + include_once conf_path() .'/settings.php';
35 // Ignore the placeholder url from default.settings.php.