漂定

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2013年12月26日

摘要: 1.【在protected目录下建立文件夹vendor/smarty,把smarty的类包放入其中】2.【在extensions目录下边建立文件CSmarty.php】//CSmarty.php文件具体内容如下(意思自己体会理解):template_dir =SMARTY_VIEW_DIR.self::DS.’tpl’; $this->compile_dir =SMARTY_VIEW_DIR.self::DS.’tpl_c’; $this->caching = true; $... 阅读全文
posted @ 2013-12-26 20:28 漂定 阅读(535) 评论(0) 推荐(0) 编辑