public function printLayoutHead(Am_View $view) { $root = $this->getRootDir(); if (file_exists($root . '/public/' . 'css/theme.css')) { if (!in_array('css/theme.css', $this->publicWithVars)) { $view->headLink()->appendStylesheet($view->_scriptCss('theme.css')); } else { $view->headLink()->appendStylesheet($this->urlPublicWithVars('css/theme.css')); } } }