forked from zyx0814/dzzoffice
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zyx
committed
May 25, 2020
1 parent
83fd0f9
commit db9ba22
Showing
2 changed files
with
4 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ public function run(&$params){ | |
|
||
} | ||
$params['route_file']=$file; | ||
return $file; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,8 @@ | ||
<?php | ||
/** | ||
* Created by PhpStorm. | ||
* User: a | ||
* Date: 2017/3/1 | ||
* Time: 16:26 | ||
*/ | ||
|
||
if(!defined('IN_DZZ')) { | ||
exit('Access Denied'); | ||
} | ||
Hook::listen('mod_run');//执行配置 | ||
Hook::listen('mod_start',$_GET);//模块路由 | ||
include $_GET['route_file']; | ||
@include Hook::listen('mod_start',$_GET,null,true);//模块路由 | ||
dexit(); |