当前位置:编程学习 > php >>

用smarty模板引擎目录结构应该怎样布置好啊?



问题
用smarty模板引擎目录结构应该怎样布置好啊?
解决方法
[url=http://www.***.com/index.php]链接标记www.***.com/index.php[/url]
[url=http://www.***.com/smarty]链接标记www.***.com/smarty[/url]
这样好不好啊?我刚看一本说明文档里说,smarty最好入在目录之外

/web/www.mydomain.com/smarty/guestbook/templates/
/web/www.mydomain.com/smarty/guestbook/templates_c/
/web/www.mydomain.com/smarty/guestbook/configs/
/web/www.mydomain.com/smarty/guestbook/cache/

/web/www.mydomain.com/docs/guestbook/index.php


参考答案
1月5日发布 PHPnew 5.0 帮我测试一下..

补充:Php教程,常见问题 
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,