From 437c0dadd0ce22236ef43518353b07691c8f49dc Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 23 Apr 2014 02:37:54 -0400
Subject: [PATCH] Set register_globals=off in .htaccess file and add note to INSTALL
---
INSTALL | 1 +
.htaccess | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/.htaccess b/.htaccess
index 0342e08..9035952 100644
--- a/.htaccess
+++ b/.htaccess
@@ -10,6 +10,7 @@
php_value post_max_size 6M
php_value memory_limit 64M
+php_flag register_globals Off
php_flag zlib.output_compression Off
php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off
diff --git a/INSTALL b/INSTALL
index 4eb7530..3e9a05a 100644
--- a/INSTALL
+++ b/INSTALL
@@ -35,6 +35,7 @@
- mbstring.func_overload disabled
- magic_quotes_runtime disabled
- magic_quotes_sybase disabled
+ - register_globals disabled (PHP < 5.4)
* PHP compiled with OpenSSL to connect to IMAPS and to use the spell checker
* A MySQL (4.0.8 or newer), PostgreSQL, MS SQL Server (2005 or newer) database engine
or SQLite support in PHP
--
Gitblit v1.9.1