Skip to content

Commit

Permalink
修复user/login/logging.php报有木马的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
zyx committed May 25, 2020
1 parent 83fd0f9 commit db9ba22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
1 change: 1 addition & 0 deletions core/class/dzz/modroute.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function run(&$params){

}
$params['route_file']=$file;
return $file;
}
}
}
11 changes: 3 additions & 8 deletions user/login/logging.php
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();

0 comments on commit db9ba22

Please sign in to comment.