Example #1
0
 private function __construct()
 {
     $this->templateEng = new Smarty();
     $this->templateEng->template_dir = Config::VIEWS() . '';
     $this->templateEng->compile_dir = Config::SITE_PATH() . 'temp/templates_c/';
     $this->templateEng->cache_dir = Config::SITE_PATH() . 'temp/cache/';
     $this->templateEng->caching = false;
     $this->templateEng->left_delimiter = "<{";
     $this->templateEng->right_delimiter = "}>";
 }