[bugs] [Bug 1012] New - time limit does not work in safe mode

bugs@bugs.horde.org bugs@bugs.horde.org
Sat, 3 Aug 2002 15:15:25 -0300


http://bugs.horde.org/show_bug.cgi?id=1012

*** shadow/1012	Sat Aug  3 15:15:24 2002
--- shadow/1012.tmp.23456	Sat Aug  3 15:15:24 2002
***************
*** 0 ****
--- 1,26 ----
+ Bug#: 1012
+ Product: Horde
+ Version: 0.1 Alpha
+ Platform: PHP Code
+ OS/Version: All
+ Status: NEW   
+ Resolution: 
+ Severity: normal
+ Priority: P2
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck@horde.org                            
+ ReportedBy: momchil@mail.bg               
+ URL: /imp/lib/base.php
+ Summary: time limit does not work in safe mode
+ 
+ The following warning is beeing issued in safe_mode
+ Warning: Cannot set time limit in safe mode in /imp/lib/base.php on line 48
+ 
+ This can be easyly dealth with if we make it this way:
+ 
+ // set max execution time according to config settings
+ if ($conf['max_exec_time'])
+     set_time_limit($conf['max_exec_time']);
+ 
+ so anyone can just set it to "false" and disable this in case of safe mode