9606336e70915835d693d23a03f40db5edc0a3b6
[packages/CodeIgniter-lib-smarty.git] / Smarty_tpl.php
1 <?php if (!defined('BASEPATH')) exit('No direct script access allowed');
2  
3 //smarty class in PLD-specific path
4 require "/usr/share/php/Smarty.class.php";
5  
6 //system/application/libraries/smarty_tpl.php
7 class smarty_tpl extends Smarty{
8  
9     function smarty_tpl(){
10         $this->Smarty();
11         // templates folder
12         $this->template_dir=    APPPATH."views/templates";
13         // compiled templates folder
14         $this->compile_dir=     APPPATH."views/templates_c";
15         // cache folder
16         $this->cache_dir=       APPPATH."views/cache";
17         //config folder
18         $this->config_dir=      APPPATH."views/config";
19  
20         // template recheck on
21         $this->compile_check=   true;
22  
23         // cache off
24         $this->caching=         false;
25         $this->cache_lifetime=  86400;
26     }
27 }
This page took 0.37506 seconds and 3 git commands to generate.