public function __construct($enginePath, $cachePath, $themeRootPath, $theme, $properties = array(), $traceEnabled = false) { // $this->_traceEnabled = $traceEnabled; parent::__construct($enginePath, $cachePath, $themeRootPath, $theme, $properties, $traceEnabled); require_once $this->enginePath . '/Smarty.class.php'; $this->engine = new Smarty(); $this->engine->compile_dir = $this->cachePath . '/templates_c/'; $this->engine->config_dir = $this->cachePath . '/configs/'; $this->engine->cache_dir = $this->cachePath . '/cache/'; $this->engine->template_dir = realpath($this->themeRootPath) . '/' . $this->theme . '/'; $this->_isConstructed = true; }