forked from dfar2008/taobaocrm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSmarty_setup.php
More file actions
31 lines (28 loc) · 1.1 KB
/
Smarty_setup.php
File metadata and controls
31 lines (28 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/*********************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
*
********************************************************************************/
include_once("config.php");
include_once('Smarty/libs/Smarty.class.php');
class vtigerCRM_Smarty extends Smarty{
/**This function sets the smarty directory path for the member variables
*/
function vtigerCRM_Smarty()
{
global $root_directory;
$this->Smarty();
$this->template_dir = $root_directory.'Smarty/templates';
$this->compile_dir = $root_directory.'Smarty/templates_c';
$this->config_dir = $root_directory.'Smarty/configs';
$this->cache_dir = $root_directory.'Smarty/cache';
//$this->caching = true;
//$this->assign('app_name', 'Login');
}
}
?>