From: Zsolt Udvari Date: Thu, 12 May 2011 14:28:46 +0000 (+0000) Subject: - initial X-Git-Url: http://git.pld-linux.org/?p=packages%2FCodeIgniter-lib-smarty.git;a=commitdiff_plain;h=f0cc9300cd608df3a7356681516f3142ab866599 - initial Changed files: Smarty_tpl.php -> 1.1 --- diff --git a/Smarty_tpl.php b/Smarty_tpl.php new file mode 100644 index 0000000..9606336 --- /dev/null +++ b/Smarty_tpl.php @@ -0,0 +1,27 @@ +Smarty(); + // templates folder + $this->template_dir= APPPATH."views/templates"; + // compiled templates folder + $this->compile_dir= APPPATH."views/templates_c"; + // cache folder + $this->cache_dir= APPPATH."views/cache"; + //config folder + $this->config_dir= APPPATH."views/config"; + + // template recheck on + $this->compile_check= true; + + // cache off + $this->caching= false; + $this->cache_lifetime= 86400; + } +}