summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-09-15 08:42:31 +0000
committeralecpl <alec@alec.pl>2011-09-15 08:42:31 +0000
commit140abb0ca07eff1e2e076916c67f28000fde72b1 (patch)
treee72640e67d41619ab2b936bfabb498193b854789
parentc3ba0e54afa9088783eaafa94b13ac1eae03916c (diff)
- Require magic_quotes_runtime=Off because it modifies data streams (too much effort to handle this)
-rw-r--r--INSTALL1
-rwxr-xr-xprogram/include/iniset.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 14bf27b94..7fe3a76cc 100644
--- a/INSTALL
+++ b/INSTALL
@@ -29,6 +29,7 @@ REQUIREMENTS
- zend.ze1_compatibility_mode disabled
- suhosin.session.encrypt disabled
- mbstring.func_overload disabled
+ - magic_quotes_runtime disabled
* PHP compiled with OpenSSL to connect to IMAPS and to use the spell checker
* A MySQL (4.0.8 or newer), PostgreSQL, MSSQL database engine
or the SQLite extension for PHP
diff --git a/program/include/iniset.php b/program/include/iniset.php
index a7699e578..9c9e2ecd5 100755
--- a/program/include/iniset.php
+++ b/program/include/iniset.php
@@ -28,6 +28,7 @@ $crit_opts = array(
'suhosin.session.encrypt' => 0,
'session.auto_start' => 0,
'file_uploads' => 1,
+ 'magic_quotes_runtime' => 0,
);
foreach ($crit_opts as $optname => $optval) {
if ($optval != ini_get($optname)) {