summaryrefslogtreecommitdiff
path: root/program/include/iniset.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-22 07:50:32 +0000
committeralecpl <alec@alec.pl>2009-09-22 07:50:32 +0000
commit6d479a622bfb779e07e7ac7bd12154ec951982e5 (patch)
tree2ea133e11a872fb7ead328589bd7e548fb208123 /program/include/iniset.php
parentbc1296f729365561975893f218bdf01319f67552 (diff)
- remove set_magic_quotes_runtime() call, use set_time_limit() with @ (#1486149)
Diffstat (limited to 'program/include/iniset.php')
-rwxr-xr-xprogram/include/iniset.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/program/include/iniset.php b/program/include/iniset.php
index a58845366..1332c8d0e 100755
--- a/program/include/iniset.php
+++ b/program/include/iniset.php
@@ -59,15 +59,10 @@ if (isset($_SERVER['HTTPS'])) {
ini_set('session.name', 'roundcube_sessid');
ini_set('session.use_cookies', 1);
ini_set('session.use_only_cookies', 1);
-if (function_exists('set_magic_quotes_runtime')) {
- set_magic_quotes_runtime(0);
-}
// increase maximum execution time for php scripts
// (does not work in safe mode)
-if (!ini_get('safe_mode')) {
- set_time_limit(120);
-}
+@set_time_limit(120);
// set internal encoding for mbstring extension
if(extension_loaded('mbstring'))