From 8d3bf54aa1908e05a733960e1d1d0b8ad7cf4ae0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 3 Mar 2010 19:37:50 +0000 Subject: [PATCH] Deprecated set_magic_quotes_runtime in PHP 5.3.1 rewritren --- inc/libs/security_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/libs/security_functions.php b/inc/libs/security_functions.php index 193ddb9fb4..c57d1e4c6e 100644 --- a/inc/libs/security_functions.php +++ b/inc/libs/security_functions.php @@ -132,7 +132,7 @@ function detectPhpCaching () { } // Runtime/GPC quoting is off now... -set_magic_quotes_runtime(false); +ini_set('magic_quotes_runtime', false); ini_set('magic_quotes_gpc', false); // This may not work on some systems // Check if important arrays are found and define them if missing -- 2.30.2