Files
ulthon_admin/app/admin/config/admin.php
2023-10-18 16:35:30 +08:00

35 lines
719 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
// !当前文件的内容应当与 /extend/base/admin/config/admin.php的内容保持一直然后再根据实际情况设置
use think\facade\Env;
return [
// 不需要验证登录的控制器
'no_login_controller' => [
'login',
],
// 不需要验证登录的节点
'no_login_node' => [
'login/index',
'login/out',
],
// 不需要验证权限的控制器
'no_auth_controller' => [
'ajax',
'login',
'index',
],
// 不需要验证权限的节点
'no_auth_node' => [
'login/index',
'login/out',
],
'default_auth_check' => Env::get('adminsystem.default_auth_check', false)
];