创建时间:2016-10-19
require "/libs/Smarty.class.php";//加载smarty核心类
class config extends Smarty{//集成smarty类
public function __construct(){
parent::__construct();//引用父类的构造函数
$this->template_dir = "./view/";//设置html模板的文件夹目录
$this->compile_dir = "./compile";//设置编译之后的文件夹目录
//设置边界符
$this->left_delimiter = "";//右边界
}
}
上一篇:7.16-GD库、水印
下一篇:8.04-TP框架3.2版本搭建