From d07a7145a9a0395a6a135259524321f331365e10 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Sat, 30 Jul 2011 09:52:10 +0000 Subject: [PATCH] :facepalm: Installer checked for magic_quotes_runtime instead of register_globals --- RELEASE-NOTES-1.18 | 1 + includes/installer/Installer.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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' ); } } -- 2.20.1