1 <?php if (!defined('BASEPATH')) exit('No direct script access allowed');
3 //smarty class in PLD-specific path
4 require "/usr/share/php/Smarty.class.php";
6 //system/application/libraries/smarty_tpl.php
7 class smarty_tpl extends Smarty{
12 $this->template_dir= APPPATH."views/templates";
13 // compiled templates folder
14 $this->compile_dir= APPPATH."views/templates_c";
16 $this->cache_dir= APPPATH."views/cache";
18 $this->config_dir= APPPATH."views/config";
20 // template recheck on
21 $this->compile_check= true;
24 $this->caching= false;
25 $this->cache_lifetime= 86400;