From: Andreas Gohr Date: Thu, 20 May 2010 09:18:03 +0000 (+0200) Subject: supress errors on set_magic_quotes X-Git-Tag: 0.7.2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9408c58de1f5a6bfb3813286079337e09dfab8e7;p=contagged supress errors on set_magic_quotes --- 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) {