From 024797706f972e849c7a480c99e5a1d9e673c380 Mon Sep 17 00:00:00 2001 From: svncommit <devs@roundcube.net> Date: Sun, 04 Mar 2007 07:47:45 -0500 Subject: [PATCH] check if safe mode is on or not --- CHANGELOG | 3 +++ index.php | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 4988b49..7b2597e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,9 @@ CHANGELOG RoundCube Webmail --------------------------- +2007/03/04 (tomekp) +- check if safe mode is on or not (closes #1484269) + 2007/03/02 (thomasb) ---------- - Show "no subject" in message list if subject is missing (closes #1484243) diff --git a/index.php b/index.php index 458a113..8219be4 100644 --- a/index.php +++ b/index.php @@ -73,7 +73,7 @@ // 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'); -- Gitblit v1.9.1