Browse files

base relative URLs in userstyle.css on the DokuWiki base

darcs-hash:20080801094448-7ad00-052387d3b78699779ae032556b112a83493c63f1.gz
  • Loading branch information...
1 parent d1accf2 commit c4af4cb67d4de228049586e98c52705d2447f96b @splitbrain committed Aug 1, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/exe/css.php
View
4 lib/exe/css.php
@@ -71,7 +71,7 @@ function css_out(){
// load plugin, template, user styles
$files = array_merge($files, css_pluginstyles($style));
if (isset($tplstyles[$style])) $files = array_merge($files, $tplstyles[$style]);
- $files[DOKU_CONF.'user'.$style.'.css'] = '';
+ $files[DOKU_CONF.'user'.$style.'.css'] = DOKU_BASE;
}else{
$files[DOKU_INC.'lib/styles/style.css'] = DOKU_BASE.'lib/styles/';
if($conf['spellchecker']){
@@ -83,7 +83,7 @@ function css_out(){
if($lang['direction'] == 'rtl'){
if (isset($tplstyles['rtl'])) $files = array_merge($files, $tplstyles['rtl']);
}
- $files[DOKU_CONF.'userstyle.css'] = '';
+ $files[DOKU_CONF.'userstyle.css'] = DOKU_BASE;
}
// check cache age & handle conditional request

0 comments on commit c4af4cb

Please sign in to comment.