Index: branches/5.1.x/core/units/stylesheets/stylesheets_item.php =================================================================== diff -u -N -r12127 -r12657 --- branches/5.1.x/core/units/stylesheets/stylesheets_item.php (.../stylesheets_item.php) (revision 12127) +++ branches/5.1.x/core/units/stylesheets/stylesheets_item.php (.../stylesheets_item.php) (revision 12657) @@ -1,6 +1,6 @@ Application->recallObject('selectors.item', 'selectors', Array('live_table'=>true, 'skip_autoload' => true) ); @@ -33,7 +36,7 @@ $ret .= $this->GetDBField('AdvancedCSS'); $compile_ts = adodb_mktime(); - $css_path = (defined('WRITEABLE') ? WRITEABLE : FULL_PATH . '/kernel') . '/stylesheets/'; + $css_path = WRITEABLE . '/stylesheets/'; $css_file = $css_path.mb_strtolower($this->GetDBField('Name')).'-'.$compile_ts.'.css'; @@ -50,6 +53,5 @@ $this->Conn->Query($sql); } } - } -?> \ No newline at end of file + } \ No newline at end of file