]>
Commit | Line | Data |
---|---|---|
6b0c3d7b ER |
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 | + | |
d7138160 | 11 | include_once("../config.inc.php"); |
6b0c3d7b ER |
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); | |
8eed7a68 ER |
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"; |