]> git.pld-linux.org Git - packages/CodeIgniter-lib-smarty.git/blame - Smarty_tpl.php
- use standard Smarty include path
[packages/CodeIgniter-lib-smarty.git] / Smarty_tpl.php
CommitLineData
b09f499c
ER
1<?php
2
3defined('BASEPATH') or die('No direct script access allowed');
4
5// load smarty class
6require 'Smarty/Smarty.class.php';
7
8// system/application/libraries/smarty_tpl.php
9class smarty_tpl extends Smarty {
10 function smarty_tpl() {
f0cc9300
ZU
11 $this->Smarty();
12 // templates folder
13 $this->template_dir= APPPATH."views/templates";
14 // compiled templates folder
15 $this->compile_dir= APPPATH."views/templates_c";
16 // cache folder
17 $this->cache_dir= APPPATH."views/cache";
18 //config folder
19 $this->config_dir= APPPATH."views/config";
b09f499c 20
f0cc9300
ZU
21 // template recheck on
22 $this->compile_check= true;
b09f499c 23
f0cc9300
ZU
24 // cache off
25 $this->caching= false;
26 $this->cache_lifetime= 86400;
27 }
28}
This page took 0.08592 seconds and 4 git commands to generate.