From 140abb0ca07eff1e2e076916c67f28000fde72b1 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 15 Sep 2011 04:42:31 -0400
Subject: [PATCH] - Require magic_quotes_runtime=Off because it modifies data streams (too much effort to handle this)

---
 INSTALL                    |    1 +
 program/include/iniset.php |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/INSTALL b/INSTALL
index 14bf27b..7fe3a76 100644
--- a/INSTALL
+++ b/INSTALL
@@ -29,6 +29,7 @@
    - 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 a7699e5..9c9e2ec 100755
--- a/program/include/iniset.php
+++ b/program/include/iniset.php
@@ -28,6 +28,7 @@
     '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)) {

--
Gitblit v1.9.1