* adjust code for flow.

This commit is contained in:
z
2020-07-13 16:21:10 +08:00
parent 75fe055826
commit a76b09bef2
3 changed files with 10 additions and 9 deletions
+7
View File
@@ -62,5 +62,12 @@ $onlybody = zget($_GET, 'onlybody', 'no');
<!--[if lt IE 10]>
<?php js::import($jsRoot . 'jquery/placeholder/min.js'); ?>
<![endif]-->
<?php
/* Load hook files for current page. */
$extPath = $this->app->getModuleRoot() . '/common/ext/view/';
$extHookRule = $extPath . 'header.*.hook.php';
$extHookFiles = glob($extHookRule);
if($extHookFiles) foreach($extHookFiles as $extHookFile) include $extHookFile;
?>
</head>
<body>