Example #1
0
 /**
  * Method __construct
  * @author Bruno Oliveira <*****@*****.**>
  */
 public function __construct()
 {
     $dirTpl = isset($this->dirTl) ? $this->dirTpl : App::appDirTpl();
     parent::__construct();
     $this->template_dir = $dirTpl . '';
     $this->compile_dir = $dirTpl . 'tpl_tmp/';
     $this->config_dir = $dirTpl . 'tpl_config/';
     $this->cache_dir = $dirTpl . 'tpl_cache/';
     $this->left_delimiter = '[{';
     $this->right_delimiter = '}]';
     $this->caching = 0;
     $this->compile_check = true;
     $this->debugging = false;
     $this->assign('appConfig', App::getConfig());
 }