X-Git-Url: https://git.cyclocoop.org/admin/?a=blobdiff_plain;f=mw-config%2Findex.php;h=b625c96002c92ce47430890b0d2c045841b1413a;hb=06aaf493e12f998784c7c9294e8533d979623308;hp=899f21ef663ac0e871e836659db1e6bfe99919fe;hpb=ab742ab065903dcb24ce122260434b83c0060fb0;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'];