* fix bugs.

This commit is contained in:
wangyidong
2015-01-30 15:27:51 +08:00
parent 03dae63dd0
commit 4d7feceb69
5 changed files with 15 additions and 9 deletions
+7 -1
View File
@@ -56,4 +56,10 @@
<div id='querybox' class='<?php if($browseType =='bysearch') echo 'show';?>'></div>
</div>
<?php foreach(glob(dirname(dirname(__FILE__)) . "/ext/view/featurebar.*.html.hook.php") as $fileName) include_once $fileName; ?>
<?php
$headerHooks = glob(dirname(dirname(__FILE__)) . "/ext/view/featurebar.*.html.hook.php");
if($headerHooks)
{
foreach($headerHooks as $fileName) helper::import($fileName);
}
?>