Deprecated set_magic_quotes_runtime in PHP 5.3.1 rewritren
authorRoland Häder <roland@mxchange.org>
Wed, 3 Mar 2010 19:37:50 +0000 (19:37 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 3 Mar 2010 19:37:50 +0000 (19:37 +0000)
inc/libs/security_functions.php

index 193ddb9fb4cd5c12083a718de2a14742a6496443..c57d1e4c6eb35a638e4fdc997c61ad449847e051 100644 (file)
@@ -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