From: Fomafix Date: Mon, 29 Oct 2018 06:18:50 +0000 (+0100) Subject: installer: Use getUrl() for CSS link in WebInstallerOutput X-Git-Tag: 1.34.0-rc.0~3565^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22calendrier%22%2C%22type=semaine%22%29%20.%20%22?a=commitdiff_plain;h=0ac7404d38480980f72d0c4eaa29caa56c31ccc9;p=lhc%2Fweb%2Fwiklou.git installer: Use getUrl() for CSS link in WebInstallerOutput This change changes the CSS URL in the stylesheet link from to on the website /mediawiki/mw-config/. Change-Id: Ib46c4d944df862cf928d3ebd050ff2d1e16ba6a5 --- diff --git a/includes/installer/WebInstallerOutput.php b/includes/installer/WebInstallerOutput.php index 6c1f2ec2b7..950aaf7827 100644 --- a/includes/installer/WebInstallerOutput.php +++ b/includes/installer/WebInstallerOutput.php @@ -197,7 +197,7 @@ class WebInstallerOutput { * @return string */ private function getCssUrl() { - return Html::linkedStyle( $_SERVER['PHP_SELF'] . '?css=1' ); + return Html::linkedStyle( $this->parent->getUrl( [ 'css' => 1 ] ) ); } public function useShortHeader( $use = true ) {