6.0.0-beta1
9/10/25

[#944] modification needed (set_time_limit)
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 (7583 days ago)
Due
Updated 12/06/2004 (7583 days ago)
Assigned
Resolved 12/06/2004 (7583 days ago)
Milestone
Patch No

History
12/06/2004 01:44:20 PM Jan Schneider Comment #2
State ⇒ Rejected
Reply to this comment
safe_mode is not officially supported.
12/06/2004 01:40:21 PM j (dot) micka (at) maylo (dot) cz Comment #1
State ⇒ New
Priority ⇒ 2. Medium
Type ⇒ Enhancement
Summary ⇒ modification needed (set_time_limit)
Queue ⇒ IMP
Reply to this comment
i'm using IMP on server, where safe mode is enabled.



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'])) {


Saved Queries