$this->smarty = new Smarty; $this->smarty->template_dir = TEMPLATES . $this->conf['default_template'] . '/'; $this->smarty->compile_dir = TEMPLATES_C . $this->conf['default_template'] . '/'; $this->smarty->compile_check = true; $this->smarty->debugging = false; $this->smarty->caching = true; $this->smarty->use_sub_dirs = false; $this->smarty->display( 'test.tpl' );
A taki dostaję error
Próbowałem ustawić chmody dla katalogu kompilacji, folderu tmp ale nie pomaga. Proszę o pomoc