看清楚了,是SmartTemplate,不是Smarty Template
在一页中建立一个以上的实例后,第一个以后的模板不会被正确解析。
解法办法
File: class.smarttemplate.php
找到:
unset ($_top);
换成:
unset ($GLOBALS[_top]);
找到:
unset ($_top);
换成:
unset ($GLOBALS[_top]);
搞定..
看清楚了,是SmartTemplate,不是Smarty Template
在一页中建立一个以上的实例后,第一个以后的模板不会被正确解析。
解法办法
搞定..
Comments 8
smartphp里的东西看上去很不错的样子。。
Posted 01 Jan 2004 at 12:18 pm ¶用起来也不错。呵呵。
Posted 05 Feb 2004 at 11:13 am ¶据说速度比Smarty快很多……
Posted 29 Feb 2004 at 2:42 pm ¶推荐没有用过的朋友都用用吧。偶发现 smarttemplate 越用越上手了。呵呵。
Posted 04 Mar 2004 at 10:16 pm ¶我刚开始看SmartTP.这个bug有没有报告官方呢?
Posted 16 Apr 2004 at 5:33 pm ¶想下载个试试
但是http://www.smartphp.net这个连接好像失效了
avenger 能不能发一个smarttemplate到我邮箱里[email protected]
Posted 27 Aug 2004 at 2:10 pm ¶先谢谢了
yes/ 不知道
Delete Global Content Array in order to allow multiple use of SmartTemplate class in one script 是什么意思,好像他们已经发现这个问题了.
老外真奇怪哦.
Posted 02 Mar 2005 at 4:43 pm ¶和smarty比哪个更好用?
想找一个能负荷更多流量的。。
Posted 20 May 2005 at 5:08 pm ¶Post a Comment