From f0cc9300cd608df3a7356681516f3142ab866599 Mon Sep 17 00:00:00 2001 From: Zsolt Udvari Date: Thu, 12 May 2011 14:28:46 +0000 Subject: [PATCH] - initial Changed files: Smarty_tpl.php -> 1.1 --- Smarty_tpl.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Smarty_tpl.php 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; + } +} -- 2.43.0