Index: branches/RC/core/units/themes/themes_tag_processor.php =================================================================== diff -u -r10098 -r10832 --- branches/RC/core/units/themes/themes_tag_processor.php (.../themes_tag_processor.php) (revision 10098) +++ branches/RC/core/units/themes/themes_tag_processor.php (.../themes_tag_processor.php) (revision 10832) @@ -4,13 +4,13 @@ { function StylesheetFile($params) { - $object =& $this->Application->recallObject( $this->getPrefixSpecial(), $this->Prefix, $params ); + $object =& $this->getObject($params); if (!$object->GetDBField('StyleName')) { // no stylesheet is associated with current theme return ''; } - $css_url = $this->Application->BaseURL('/kernel/stylesheets'); + $css_url = $this->Application->BaseURL((defined('WRITEBALE_BASE') ? WRITEBALE_BASE : '/kernel') . '/stylesheets'); $css_path = rtrim( str_replace( $this->Application->BaseURL(), FULL_PATH.'/', $css_url), '/' ); $last_compiled = $object->GetDBField('LastCompiled');