From: Roland Häder Date: Wed, 3 Mar 2010 19:37:50 +0000 (+0000) Subject: Deprecated set_magic_quotes_runtime in PHP 5.3.1 rewritren X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8d3bf54aa1908e05a733960e1d1d0b8ad7cf4ae0;p=mailer.git Deprecated set_magic_quotes_runtime in PHP 5.3.1 rewritren --- 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