|
|
|
@ -43,6 +43,10 @@ class AdminController extends Controller {
|
|
|
|
|
$this->error('403:禁止访问');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
$rule = strtolower(MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME);
|
|
|
|
|
if ($rule == 'admin/spend/listsMime') {
|
|
|
|
|
var_dump($_SERVER['HTTP_HOST']);
|
|
|
|
|
}
|
|
|
|
|
// 检测系统权限
|
|
|
|
|
if(!IS_ROOT){
|
|
|
|
|
$access = $this->accessControl();
|
|
|
|
|