summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-15 08:42:31 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-15 08:42:31 +0000
commit6b6bc0b8fb0d7759c43a6d77289257e9c521de33 (patch)
treea5d4082165c16999cb9b5f8ca71e472a4bfa014d
parentea6bf1ddb26648767fc92abbf0bbac91fb60d747 (diff)
- Require magic_quotes_runtime=Off because it modifies data streams (too much effort to handle this)
git-svn-id: https://svn.roundcube.net/trunk@5216 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/INSTALL1
-rwxr-xr-xroundcubemail/program/include/iniset.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/INSTALL b/roundcubemail/INSTALL
index 14bf27b94..7fe3a76cc 100644
--- a/roundcubemail/INSTALL
+++ b/roundcubemail/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/roundcubemail/program/include/iniset.php b/roundcubemail/program/include/iniset.php
index a7699e578..9c9e2ecd5 100755
--- a/roundcubemail/program/include/iniset.php
+++ b/roundcubemail/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)) {