[转] smarttemplate 的一个BUG

smarttemplate 的一个BUG


看清楚了,是 SmartTemplate,不是 Smarty Template

在一页中建立一个以上的实例后,第一个以后的模板不会被正确解析。

解法办法

File: class.smarttemplate.php
找到:
unset ($_top);
换成:
unset ($GLOBALS[_top]);


搞定..


转自: http://www.phpe.net/blog/item/29/catid/7
avenger_Blog: http://www.phpe.net/blog

你可能感兴趣的:(.net,PHP,Blog)