summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-04-23 08:35:54 +0200
committerAleksander Machniak <alec@alec.pl>2014-04-23 08:35:54 +0200
commit0314bff2789d8c661c985bf9edc74569efe56ecc (patch)
treeeff0cf3a31603557b25e5365ec74c19c46fb5688
parentd220ebd708a6893fdb68b8548a30990d99ca1c02 (diff)
Set register_globals=off in .htaccess file and add note to INSTALL
-rw-r--r--.htaccess1
-rw-r--r--INSTALL1
2 files changed, 2 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 0342e0878..903595243 100644
--- a/.htaccess
+++ b/.htaccess
@@ -10,6 +10,7 @@ php_value upload_max_filesize 5M
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 7bc0b8822..abb6bbd7d 100644
--- a/INSTALL
+++ b/INSTALL
@@ -34,6 +34,7 @@ REQUIREMENTS
- 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