| Summary | modification needed (set_time_limit) |
| Queue | IMP |
| Queue Version | 3.2.6 |
| Type | Enhancement |
| State | Rejected |
| Priority | 2. Medium |
| Owners | |
| Requester | j.micka (at) maylo (dot) cz |
| Created | 12/06/2004 (7642 days ago) |
| Due | |
| Updated | 12/06/2004 (7642 days ago) |
| Assigned | |
| Resolved | 12/06/2004 (7642 days ago) |
| Milestone | |
| Patch | No |
State ⇒ Rejected
State ⇒ New
Priority ⇒ 2. Medium
Type ⇒ Enhancement
Summary ⇒ modification needed (set_time_limit)
Queue ⇒ IMP
it's only check for safe mode, because in safe mode is set_time_limit
function disabled and generates warning
--- imp/lib/base.php.orig 2004-12-06 11:17:27.000000000 +0100
+++ imp/lib/base.php 2004-12-06 11:18:30.000000000 +0100
@@ -52,7 +52,8 @@
error_reporting($conf['debug_level']);
// set max execution time according to config settings
-set_time_limit($conf['max_exec_time']);
+if (!ini_get('safe_mode'))
+ set_time_limit($conf['max_exec_time']);
// set the umask according to config settings
if (isset($conf['umask'])) {