summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2007-03-04 12:47:45 +0000
committersvncommit <devs@roundcube.net>2007-03-04 12:47:45 +0000
commit024797706f972e849c7a480c99e5a1d9e673c380 (patch)
treec4502f7119a1e5a479a5c04bc03d7220aab3eed2 /index.php
parent7bbd5f64744a5eba869ee01d15e3a425b73e4f60 (diff)
check if safe mode is on or not
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 458a11361..8219be46e 100644
--- a/index.php
+++ b/index.php
@@ -73,7 +73,7 @@ ini_set('error_reporting', E_ALL&~E_NOTICE);
// increase maximum execution time for php scripts
// (does not work in safe mode)
-@set_time_limit(120);
+if (!ini_get('safe_mode')) @set_time_limit(120);
// include base files
require_once('include/rcube_shared.inc');