代码改变世界

Utime failed: Permission denied in Smarty/sysplugins/smarty_internal_template.php on line xxx

2011-08-02 22:38  wildboar  阅读(1331)  评论(0编辑  收藏  举报

Just change the source code followings

if ($saved_timestamp = $this->getCompiledTimestamp()) {

to the below

$saved_timestamp = $this->getCompiledTimestamp(); 

if (saved_timestamp) {  

there is an useful article for this issue on smarty forum

http://www.smarty.net/forums/viewtopic.php?p=69488