* adjust code for zentaobiz and fix bug.

This commit is contained in:
wangyidong
2017-08-08 08:21:58 +08:00
parent 619188a569
commit da39880a1c
7 changed files with 19 additions and 16 deletions
+7
View File
@@ -4,6 +4,13 @@ include 'header.lite.html.php';
include 'chosen.html.php';
//include 'validation.html.php';
?>
<?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;
?>
<?php if(empty($_GET['onlybody']) or $_GET['onlybody'] != 'yes'):?>
<?php $this->app->loadConfig('sso');?>
<?php