Index: branches/5.0.x/core/units/themes/themes_tag_processor.php =================================================================== diff -u -r12117 -r12202 --- branches/5.0.x/core/units/themes/themes_tag_processor.php (.../themes_tag_processor.php) (revision 12117) +++ branches/5.0.x/core/units/themes/themes_tag_processor.php (.../themes_tag_processor.php) (revision 12202) @@ -1,6 +1,6 @@ Application->BaseURL((defined('WRITEBALE_BASE') ? WRITEBALE_BASE : '/kernel') . '/stylesheets'); - $css_path = rtrim( str_replace( $this->Application->BaseURL(), FULL_PATH.'/', $css_url), '/' ); + $css_url = $this->Application->BaseURL(WRITEBALE_BASE . '/stylesheets'); + $css_path = rtrim( str_replace( $this->Application->BaseURL(), FULL_PATH . '/', $css_url), '/' ); $last_compiled = $object->GetDBField('LastCompiled');