X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FWebInstallerOptions.php;h=2412319ea38934b16844a1b28fd3043eba8780e8;hb=3599ce72b0fe2594bd3ae8c902555040b8a91d28;hp=47947128c45bd8dd07ead5ff8c996314cb5770bc;hpb=4d1e6f80db5b420e5a745f2b48d1516b04b1a185;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/WebInstallerOptions.php b/includes/installer/WebInstallerOptions.php index 47947128c4..2412319ea3 100644 --- a/includes/installer/WebInstallerOptions.php +++ b/includes/installer/WebInstallerOptions.php @@ -31,10 +31,8 @@ class WebInstallerOptions extends WebInstallerPage { $this->submitSkins(); return 'skip'; } - if ( $this->parent->request->wasPosted() ) { - if ( $this->submit() ) { - return 'continue'; - } + if ( $this->parent->request->wasPosted() && $this->submit() ) { + return 'continue'; } $emailwrapperStyle = $this->getVar( 'wgEnableEmail' ) ? '' : 'display: none'; @@ -366,7 +364,7 @@ class WebInstallerOptions extends WebInstallerPage { ] ); $styleUrl = $server . dirname( dirname( $this->parent->getUrl() ) ) . '/mw-config/config-cc.css'; - $iframeUrl = '//creativecommons.org/license/?' . + $iframeUrl = 'https://creativecommons.org/license/?' . wfArrayToCgi( [ 'partner' => 'MediaWiki', 'exit_url' => $exitUrl,