]> git.pld-linux.org Git - packages/drupal.git/commitdiff
- set interpreter
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 30 Jan 2007 16:04:28 +0000 (16:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- chdir to drupal basedir

Changed files:
    drupal-cron.patch -> 1.5

drupal-cron.patch

index d4ebc77911e87bdad15507c1d0b0beb9b9d4512d..b85003f807fdf818f09e6e33d95018f569dbcd99 100644 (file)
      $result = db_query("SELECT u.* FROM {users} u WHERE u.uid = 0");
    }
  
---- ./cron.php~        2005-01-09 11:22:38.000000000 +0200
-+++ ./cron.php 2005-12-09 20:13:27.000000000 +0200
-@@ -6,6 +6,11 @@
+--- ./cron.php 2005-12-09 20:13:27.000000000 +0200
++++ drupal-4.6.11/cron.php     2007-01-30 18:02:41.911795649 +0200
+@@ -1,3 +1,4 @@
++#!/usr/bin/php
+ <?php
+ // $Id$
+@@ -6,6 +7,13 @@
   * Handles incoming requests to fire off regularly-scheduled tasks (cron jobs).
   */
  
@@ -30,6 +35,8 @@
 +if (!ini_get('safe_mode')) {
 +  ini_set('memory_limit', '20M');
 +}
++
++chdir(dirname(__FILE__));
 +
  include_once 'includes/bootstrap.inc';
  include_once 'includes/common.inc' ;
This page took 0.076457 seconds and 4 git commands to generate.