Index: trunk/phase3/includes/installer/WebInstallerOutput.php |
— | — | @@ -85,13 +85,14 @@ |
86 | 86 | * @return String |
87 | 87 | */ |
88 | 88 | public function getCSS( $dir ) { |
89 | | - $vectorCssFile = dirname( dirname( dirname( __FILE__ ) ) ) . |
90 | | - '/skins/vector/screen.css'; |
| 89 | + $skinDir = dirname( dirname( dirname( __FILE__ ) ) ) . '/skins'; |
| 90 | + $vectorCssFile = "$skinDir/vector/screen.css"; |
| 91 | + $configCssFile = "$skinDir/common/config.css"; |
91 | 92 | wfSuppressWarnings(); |
92 | | - $css = file_get_contents( $vectorCssFile ); |
| 93 | + $css = file_get_contents( $vectorCssFile ) . "\n" . file_get_contents( $configCssFile ); |
93 | 94 | wfRestoreWarnings(); |
94 | 95 | if( !$css ) { |
95 | | - return "/** Your webserver cannot read $vectorCssFile, please check file permissions */"; |
| 96 | + return "/** Your webserver cannot read $vectorCssFile or $configCssFile, please check file permissions */"; |
96 | 97 | } elseif( $dir == 'rtl' ) { |
97 | 98 | $css = CSSJanus::transform( $css, true ); |
98 | 99 | } |
— | — | @@ -175,7 +176,6 @@ |
176 | 177 | <title><?php $this->outputTitle(); ?></title> |
177 | 178 | <?php echo Html::linkedStyle( '../skins/common/shared.css' ) . "\n"; ?> |
178 | 179 | <?php echo Html::linkedStyle( $this->getCssUrl() ) . "\n"; ?> |
179 | | - <?php echo Html::linkedStyle( '../skins/common/config.css' ) . "\n"; ?> |
180 | 180 | <?php echo Html::inlineScript( "var dbTypes = " . Xml::encodeJsVar( $dbTypes ) ) . "\n"; ?> |
181 | 181 | <?php echo $this->getJQuery() . "\n"; ?> |
182 | 182 | <?php echo $this->getJQueryTipsy() . "\n"; ?> |
— | — | @@ -233,7 +233,6 @@ |
234 | 234 | <meta name="robots" content="noindex, nofollow" /> |
235 | 235 | <title><?php $this->outputTitle(); ?></title> |
236 | 236 | <?php echo Html::linkedStyle( $this->getCssUrl() ) . "\n"; ?> |
237 | | - <?php echo Html::linkedStyle( '../skins/common/config.css' ) . "\n"; ?> |
238 | 237 | <?php echo $this->getJQuery(); ?> |
239 | 238 | <?php echo $this->getJQueryTipsy() . "\n"; ?> |
240 | 239 | <?php echo Html::linkedScript( '../skins/common/config.js' ); ?> |