Index: branches/5.1.x/core/units/themes/themes_tag_processor.php =================================================================== diff -u -N -r12127 -r12657 --- branches/5.1.x/core/units/themes/themes_tag_processor.php (.../themes_tag_processor.php) (revision 12127) +++ branches/5.1.x/core/units/themes/themes_tag_processor.php (.../themes_tag_processor.php) (revision 12657) @@ -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'); @@ -74,4 +76,3 @@ return $object->GetDBField('ThemeId') == $themes_helper->getCurrentThemeId(); } } -?> \ No newline at end of file