<?php
require_once 'configDir.php';
require_once ZHULU2_ROOT.'smarty/Smarty.class.php';
class InitSmarty
{
private $smarty;
function __construct()
{
$this->smarty = new Smarty();
$this->smarty -> template_dir = ROOT_DIR; //模板路径
$this->smarty -> compile_dir = COMPLILE_DIR; //编译路径
$this->smarty -> cache_dir = CACHE_DIR;
$this->smarty -> left_delimiter = LEFT_DELIMITER; //�