/** * Display CSS * * @return void */ public function cssTask() { $file = JPATH_SITE . \Hubzero\Document\Assets::getComponentStylesheet($this->_option, 'site_css.css'); if (is_readable($file)) { ob_clean(); header("Content-Type: text/css"); readfile($file); ob_end_flush(); exit; } }