From 9408c58de1f5a6bfb3813286079337e09dfab8e7 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Thu, 20 May 2010 11:18:03 +0200 Subject: [PATCH] supress errors on set_magic_quotes --- inc/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/init.php b/inc/init.php index cc04d7a..67fbc69 100644 --- a/inc/init.php +++ b/inc/init.php @@ -23,7 +23,7 @@ if (!empty($_SESSION)) remove_magic_quotes($_SESSION); ini_set('magic_quotes_gpc', 0); } - set_magic_quotes_runtime(0); + @set_magic_quotes_runtime(0); function remove_magic_quotes(&$array) { foreach (array_keys($array) as $key) { -- 2.39.2