X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=mw-config%2Findex.php;h=b625c96002c92ce47430890b0d2c045841b1413a;hb=88905b2b73afa52ae3ab8f55ecc1af06c3ec9886;hp=899f21ef663ac0e871e836659db1e6bfe99919fe;hpb=41822a6b9ea7339112207ca7c02b196668a610e6;p=lhc%2Fweb%2Fwiklou.git diff --git a/mw-config/index.php b/mw-config/index.php index 899f21ef66..b625c96002 100644 --- a/mw-config/index.php +++ b/mw-config/index.php @@ -44,7 +44,7 @@ function wfInstallerMain() { $installer = InstallerOverrides::getWebInstaller( $request ); if ( !$installer->startSession() ) { - if ( $installer->request->getVal( "css" ) ) { + if ( $installer->request->getVal( 'css' ) ) { // Do not display errors on css pages $installer->outputCss(); exit; @@ -63,7 +63,7 @@ function wfInstallerMain() { $session = array(); } - if ( !is_null( $request->getVal( 'uselang' ) ) ) { + if ( $request->getCheck( 'uselang' ) ) { $langCode = $request->getVal( 'uselang' ); } elseif ( isset( $session['settings']['_UserLang'] ) ) { $langCode = $session['settings']['_UserLang'];