]> gitweb.fluxo.info Git - puppet-php.git/commitdiff
Turning off magic_quotes_gpc and register_long_arrays
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 17 Feb 2011 00:39:48 +0000 (22:39 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 17 Feb 2011 00:39:48 +0000 (22:39 -0200)
files/apache2/php.ini
files/cli/php.ini

index f0fe032d6ab26585a9a2a2be52633d352a7316a7..aadb6b3ed33586dc9459e9180180a761aa914bce 100644 (file)
@@ -433,7 +433,7 @@ register_globals = Off
 ; Whether or not to register the old-style input arrays, HTTP_GET_VARS
 ; and friends.  If you're not using them, it's recommended to turn them off,
 ; for performance reasons.
-register_long_arrays = On
+register_long_arrays = Off
 
 ; This directive tells PHP whether to declare the argv&argc variables (that
 ; would contain the GET information).  If you don't use these variables, you
@@ -454,7 +454,7 @@ post_max_size = 100M
 ;
 
 ; Magic quotes for incoming GET/POST/Cookie data.
-magic_quotes_gpc = On
+magic_quotes_gpc = Off
 
 ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
 magic_quotes_runtime = Off
index c282aaeaaf799c035616cf2d17372d42f197828e..d647f5cbf1e86f2ba658d56be4c68374b301c403 100644 (file)
@@ -433,7 +433,7 @@ register_globals = Off
 ; Whether or not to register the old-style input arrays, HTTP_GET_VARS
 ; and friends.  If you're not using them, it's recommended to turn them off,
 ; for performance reasons.
-register_long_arrays = On
+register_long_arrays = Off
 
 ; This directive tells PHP whether to declare the argv&argc variables (that
 ; would contain the GET information).  If you don't use these variables, you
@@ -454,7 +454,7 @@ post_max_size = 100M
 ;
 
 ; Magic quotes for incoming GET/POST/Cookie data.
-magic_quotes_gpc = On
+magic_quotes_gpc = Off
 
 ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
 magic_quotes_runtime = Off