]> git.pld-linux.org Git - packages/eventum.git/blob - eventum-mem-limits.patch
- memory limit patches merged
[packages/eventum.git] / eventum-mem-limits.patch
1 --- eventum-1.7.1/misc/process_mail_queue.php~  2006-06-19 17:50:25.747786986 +0300
2 +++ eventum-1.7.1/misc/process_mail_queue.php   2006-06-19 17:59:33.490045125 +0300
3 @@ -27,7 +27,9 @@
4  // +----------------------------------------------------------------------+
5  //
6  // @(#) $Id$
7 -//
8 +
9 +ini_set("memory_limit", "256M");
10 +
11  include_once("../config.inc.php");
12  include_once(APP_INC_PATH . "db_access.php");
13  include_once(APP_INC_PATH . "class.mail_queue.php");
14 @@ -60,8 +62,6 @@
15      exit;
16  }
17  
18 -ini_set("memory_limit", "256M");
19 -
20  // handle only pending emails
21  $limit = 50;
22  Mail_Queue::send('pending', $limit);
23 --- eventum-1.7.1/misc/download_emails.php~     2006-06-19 18:13:23.698634331 +0300
24 +++ eventum-1.7.1/misc/download_emails.php      2006-06-19 18:16:24.672688641 +0300
25 @@ -27,15 +27,15 @@
26  // +----------------------------------------------------------------------+
27  //
28  // @(#) $Id$
29 -//
30 +
31 +ini_set("memory_limit", "256M");
32 +
33  include_once("../config.inc.php");
34  include_once(APP_INC_PATH . "class.support.php");
35  include_once(APP_INC_PATH . "class.lock.php");
36  include_once(APP_INC_PATH . "class.project.php");
37  include_once(APP_INC_PATH . "db_access.php");
38  
39 -ini_set("memory_limit", "256M");
40 -
41  // we need the IMAP extension for this to work
42  if (!function_exists('imap_open')) {
43      echo "Error: Eventum requires the IMAP extension in order to download messages saved on a IMAP/POP3 mailbox.\n";
44 --- eventum-20060210/misc/route_drafts.php~     2006-02-11 07:27:35.000000000 +0200
45 +++ eventum-20060210/misc/route_drafts.php      2006-02-11 07:28:23.000000000 +0200
46 @@ -27,6 +27,7 @@
47  //
48  // @(#) $Id$
49  //
50 +ini_set('memory_limit', '256M');
51  include_once("../config.inc.php");
52  include_once(APP_INC_PATH . "db_access.php");
53  include_once(APP_INC_PATH . "class.routing.php");
54 --- eventum-20060210/misc/route_emails.php~     2006-02-11 07:27:35.000000000 +0200
55 +++ eventum-20060210/misc/route_emails.php      2006-02-11 07:28:43.000000000 +0200
56 @@ -27,6 +27,7 @@
57  //
58  // @(#) $Id$
59  //
60 +ini_set('memory_limit', '256M');
61  include_once("../config.inc.php");
62  include_once(APP_INC_PATH . "db_access.php");
63  include_once(APP_INC_PATH . "class.routing.php");
64 --- eventum-20060210/misc/route_notes.php~      2006-02-11 07:27:35.000000000 +0200
65 +++ eventum-20060210/misc/route_notes.php       2006-02-11 07:28:54.000000000 +0200
66 @@ -27,6 +27,7 @@
67  //
68  // @(#) $Id$
69  //
70 +ini_set('memory_limit', '256M');
71  include_once("../config.inc.php");
72  include_once(APP_INC_PATH . "db_access.php");
73  include_once(APP_INC_PATH . "class.routing.php");
This page took 0.038362 seconds and 3 git commands to generate.