]> granicus.if.org Git - php/commitdiff
- Fixed bug #17669. PG(magic_quotes_runtime) wasn't reset for each request.
authorfoobar <sniper@php.net>
Wed, 12 Jun 2002 17:25:48 +0000 (17:25 +0000)
committerfoobar <sniper@php.net>
Wed, 12 Jun 2002 17:25:48 +0000 (17:25 +0000)
ext/standard/basic_functions.c

index be97f013732a567527d1d97f482757fc4659aece..da61cf0b394180863b967ebb9315c313a390713f 100644 (file)
@@ -1068,6 +1068,9 @@ PHP_RINIT_FUNCTION(basic)
        PHP_RINIT(dir) (INIT_FUNC_ARGS_PASSTHRU);
        PHP_RINIT(url_scanner_ex) (INIT_FUNC_ARGS_PASSTHRU);
 
+       /* Reset magic_quotes_runtime */
+       PG(magic_quotes_runtime) = INI_BOOL("magic_quotes_runtime");
+
        return SUCCESS;
 }