* fix glob error.
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
|
||||
<?php
|
||||
$headerHooks = glob(dirname(dirname(__FILE__)) . "/ext/view/featurebar.*.html.hook.php");
|
||||
if(is_array($headerHooks))
|
||||
if(!empty($headerHooks))
|
||||
{
|
||||
foreach($headerHooks as $fileName) helper::import($fileName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user