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:37:54 +0200
commit437c0dadd0ce22236ef43518353b07691c8f49dc (patch)
tree1aa7f91ca530a8841918e810d942df73c474e736
parenta70234f3755626a3cf6a7f7ada1a9f4897bf5556 (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 4eb75307e..3e9a05a30 100644
--- a/INSTALL
+++ b/INSTALL
@@ -35,6 +35,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