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: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=0ac7404d38480980f72d0c4eaa29caa56c31ccc9;hp=f03d31af05dbe6acaad00bc76ff4aa02aee2f77f;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 ) {