:facepalm: Installer checked for magic_quotes_runtime instead of register_globals
authorMax Semenik <maxsem@users.mediawiki.org>
Sat, 30 Jul 2011 09:52:10 +0000 (09:52 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Sat, 30 Jul 2011 09:52:10 +0000 (09:52 +0000)
RELEASE-NOTES-1.18
includes/installer/Installer.php

index 9f8b427..fa535c7 100644 (file)
@@ -431,6 +431,7 @@ production.
   tries to subsribe to mediawiki-announce.
 * (bug 27427) mw.util.getParamValue shouldn't return value from hash even if
   param is only present in hash.
+* Installer checked for magic_quotes_runtime instead of register_globals.
 
 === API changes in 1.18 ===
 * BREAKING CHANGE: action=watch now requires POST and token.
index 8cdde63..0b37f4a 100644 (file)
@@ -652,7 +652,7 @@ abstract class Installer {
         * Environment check for register_globals.
         */
        protected function envCheckRegisterGlobals() {
-               if( wfIniGetBool( "magic_quotes_runtime" ) ) {
+               if( wfIniGetBool( 'register_globals' ) ) {
                        $this->showMessage( 'config-register-globals' );
                }
        }