摘要: Smarty的配置include_once("Smarty/Smarty.class.php"); //包含smarty类文件$smarty = new Smarty(); //建立smarty实例对象$smarty$smarty->config_dir="Smarty/Config_File.class.php"; // 目录变量$smarty->caching=false; //是否使用缓存,项目在调试期间,不建议启用缓存$smarty->template_dir = "./templates"; //设置模板目 阅读全文
posted @ 2012-07-12 14:40 网络爱上点击 阅读(349) 评论(0) 推荐(0) 编辑