X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FInstaller.php;h=f01403249aa1bc3be747343760bd67f3a2dded3a;hb=b38e0afa615b6badbae7bdc2f50142894e94fa70;hp=481de87d3806bc21d052a91f499a01536a79c777;hpb=30a82aae9cf7e5536eef761637a1277b7c18017e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index 481de87d38..f01403249a 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -715,11 +715,15 @@ abstract class Installer { /** * Environment check for register_globals. + * Prevent installation if enabled */ protected function envCheckRegisterGlobals() { if ( wfIniGetBool( 'register_globals' ) ) { - $this->showMessage( 'config-register-globals' ); + $this->showMessage( 'config-register-globals-error' ); + return false; } + + return true; } /**