]> git.pld-linux.org Git - packages/CodeIgniter-lib-smarty.git/blame - Smarty_tpl.php
- initial
[packages/CodeIgniter-lib-smarty.git] / Smarty_tpl.php
CommitLineData
f0cc9300
ZU
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
2
3//smarty class in PLD-specific path
4require "/usr/share/php/Smarty.class.php";
5
6//system/application/libraries/smarty_tpl.php
7class 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.123356 seconds and 4 git commands to generate.