smarttemplate 的一个BUG
看清楚了,是SmartTemplate,不是Smarty Template
在一页中建立一个以上的实例后,第一个以后的模板不会被正确解析。
解法办法
File: class.smarttemplate.php
找到:
unset ($_top);
换成:
unset ($GLOBALS[_top]);
找到:
unset ($_top);
换成:
unset ($GLOBALS[_top]);
搞定..
转自:http://www.phpe.net/blog/item/29/catid/7
avenger_Blog: http://www.phpe.net/blog