Index: trunk/phase3/includes/installer/WebInstallerOutput.php |
— | — | @@ -85,12 +85,13 @@ |
86 | 86 | * @return String |
87 | 87 | */ |
88 | 88 | public function getCSS( $dir ) { |
89 | | - $vectorCssFile = dirname( __FILE__ ) . '/../../skins/vector/screen.css'; |
| 89 | + $vectorCssFile = dirname( dirname( dirname( __FILE__ ) ) ) . |
| 90 | + '/skins/vector/screen.css'; |
90 | 91 | wfSuppressWarnings(); |
91 | 92 | $css = file_get_contents( $vectorCssFile ); |
92 | 93 | wfRestoreWarnings(); |
93 | 94 | if( !$css ) { |
94 | | - return ''; |
| 95 | + return '/** Your webserver cannot read ' . $vectorCssFile . ', please check file permissions */'; |
95 | 96 | } elseif( $dir == 'rtl' ) { |
96 | 97 | return CSSJanus::transform( $css, true ); |
97 | 98 | } else { |