首页 > php框架

smarty 安装与配置教程

1.在www.smarty.net 下载smarty,解压 。假设解压目录为Smarty-2.6.19。

2.在网站主目录下建立文件夹smartytest(比如:XAMPP下 E:xampphtdocssmartytest) 同时在 smartytest目录下建立如下几个目录:cache ,configs ,templates, templates_c。并且将Smarty-2.6.19下libs目录全部复制到smartytest目录下。

阅读全文