From d4f264827af7816eb8cf242f925a9594454eea1f Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 08 Aug 2008 04:41:27 -0400
Subject: [PATCH] #1485155: added zend.ze1_compatibility_mode check in installer and option disabled in .htaccess

---
 installer/check.php |    3 ++-
 .htaccess           |    1 +
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/.htaccess b/.htaccess
index 556b8c0..9e3667b 100644
--- a/.htaccess
+++ b/.htaccess
@@ -11,6 +11,7 @@
   php_value	session.auto_start	0
   php_value	zlib.output_compression	0
   php_value	magic_quotes_gpc	0
+  php_value	zend.ze1_compatibility_mode	0
 </IfModule>
 
 <FilesMatch "(\.inc|\~)$">
diff --git a/installer/check.php b/installer/check.php
index 380202c..8054eb0 100644
--- a/installer/check.php
+++ b/installer/check.php
@@ -15,7 +15,8 @@
     'PostgreSQL' => 'pgsql', 'SQLite (v2)' => 'sqlite');
 
 $ini_checks = array('file_uploads' => 1, 'session.auto_start' => 0,
-    'magic_quotes_gpc' => 0, 'magic_quotes_sybase' => 0);
+    'magic_quotes_gpc' => 0, 'magic_quotes_sybase' => 0, 
+    'zend.ze1_compatibility_mode' => 0);
 
 $source_urls = array(
     'Sockets' => 'http://www.php.net/manual/en/ref.sockets.php',

--
Gitblit v1.9.1