Making path to bullet.gif in config.css relative to it self instead of absolute.
authorKrinkle <krinkle@users.mediawiki.org>
Sat, 20 Nov 2010 20:24:48 +0000 (20:24 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Sat, 20 Nov 2010 20:24:48 +0000 (20:24 +0000)
commit7901bde86f1e57b871c61216d14a946af3a363bd
tree79068848c5b92f4c8fff6b2b8e166a79fd824a3b
parente87d1956789a7c17eefb28556d94f48aeeb19c3a
Making path to bullet.gif in config.css relative to it self instead of absolute.
* Installer has a 'Status of 404 (Not Found)' (/w/skins/skins/vector/images/bullet.gif). Source of this problem is "str_replace( 'images/', '../skins/vector/images/',  );" on line 99 of WebInstallerOutput.php::GetCSS() which transforms this line:
  list-style-image: url(../skins/common/images/bullet.gif);
into this:
  list-style-image: url(../skins/common/../skins/vector/images/bullet.gif);
 all other stylesheets do it relative also, therefor changing this accordingly to:
  list-style-image: url(images/bullet.gif);
But since the installer does not load them directly but includes them from a different path, the str_replace() has been changed from a single replace for both files to two replaces, since they are not both in /vector/ images, config.css is in /common/ and it's images are in /common/images, not /vector/images. Fixed now.
includes/installer/WebInstallerOutput.php
skins/common/config.css