Fix #9196 : installer now check zend.ze1_compatibility_mode is off.
authorAntoine Musso <hashar@users.mediawiki.org>
Wed, 25 Apr 2007 17:59:58 +0000 (17:59 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Wed, 25 Apr 2007 17:59:58 +0000 (17:59 +0000)
RELEASE-NOTES
config/index.php

index 7b15397..ac4b6cd 100644 (file)
@@ -123,6 +123,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 9656) Autosummaries will be generated for deletion of pages longer than
   500 characters
 * Predefined block reasons added to Special:Blockip
+* (bug 9196) Installer now check that zend.ze1_compatibility_mode is off
 
 == Bugfixes since 1.9 ==
 
@@ -347,7 +348,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   various problems that occur when it is on.
 * (bug 9585) Fix regression in tidy usage in Special:Undelete previews
 
-
 == Maintenance ==
 
 * New script maintenance/language/checkExtensioni18n.php used to check i18n
index e1ec6ac..d036e8c 100644 (file)
@@ -346,6 +346,15 @@ if( ini_get( "mbstring.func_overload" ) ) {
        <?php
 }
 
+if( ini_get( "zend.ze1_compatibility_mode" ) ) {
+       $fatal = true;
+       ?><li class="error"><strong>Fatal: <a href="http://www.php.net/manual/en/ini.core.php">zend.ze1_compatibility_mode</a> is active!</strong>
+       This option causes horrible bugs with MediaWiki; you cannot install or use
+       MediaWiki unless this option is disabled.
+       <?php
+}
+
+
 if( $fatal ) {
        dieout( "</ul><p>Cannot install MediaWiki.</p>" );
 }