aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-16 22:39:48 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-02-16 22:39:48 -0200
commit20066b46f6da4cee698332094f0e90d55c5fef2d (patch)
tree9ed9510deda782c7ece800bb6f9b92032b62124c
parentee9a5c97c4cc5c8d841fc72e050fc7ab72d1732f (diff)
downloadpuppet-php-20066b46f6da4cee698332094f0e90d55c5fef2d.tar.gz
puppet-php-20066b46f6da4cee698332094f0e90d55c5fef2d.tar.bz2
Turning off magic_quotes_gpc and register_long_arrays
-rw-r--r--files/apache2/php.ini4
-rw-r--r--files/cli/php.ini4
2 files changed, 4 insertions, 4 deletions
diff --git a/files/apache2/php.ini b/files/apache2/php.ini
index f0fe032..aadb6b3 100644
--- a/files/apache2/php.ini
+++ b/files/apache2/php.ini
@@ -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
diff --git a/files/cli/php.ini b/files/cli/php.ini
index c282aae..d647f5c 100644
--- a/files/cli/php.ini
+++ b/files/cli/php.ini
@@ -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