* adjust the code.

This commit is contained in:
wangchunsheng
2010-12-01 06:57:24 +00:00
parent acfa578e7e
commit 84e26734db
+1 -4
View File
@@ -391,10 +391,7 @@ class control
extract((array)$this->view);
ob_start();
include $viewFile;
if(isset($hookFiles))
{
foreach($hookFiles as $hookFile) include $hookFile;
}
if(isset($hookFiles)) foreach($hookFiles as $hookFile) include $hookFile;
$this->output .= ob_get_contents();
ob_end_clean();