From: Max Semenik Date: Sat, 30 Jul 2011 09:52:10 +0000 (+0000) Subject: :facepalm: Installer checked for magic_quotes_runtime instead of register_globals X-Git-Tag: 1.31.0-rc.0~28536 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=d07a7145a9a0395a6a135259524321f331365e10;p=lhc%2Fweb%2Fwiklou.git :facepalm: Installer checked for magic_quotes_runtime instead of register_globals --- diff --git a/RELEASE-NOTES-1.18 b/RELEASE-NOTES-1.18 index 9f8b427743..fa535c7409 100644 --- a/RELEASE-NOTES-1.18 +++ b/RELEASE-NOTES-1.18 @@ -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. diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index 8cdde632a2..0b37f4a65b 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -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' ); } }