1.优化后台管理员管理页面的权限设置,新增zihuaadmin账号

This commit is contained in:
2026-05-29 17:24:07 +08:00
parent 7c1307e355
commit 54fb283b8d
9 changed files with 287 additions and 438 deletions

View File

@@ -91,7 +91,8 @@ return [
'php', 'html', 'htm', 'env'
],
'options' => [
'enable_file_monitor' => !in_array('-d', $argv) && DIRECTORY_SEPARATOR === '/',
// Windows 下也需监测 PHP 变更并 reload否则长期占用旧版 Admin 等类
'enable_file_monitor' => !in_array('-d', $argv),
'enable_memory_monitor' => DIRECTORY_SEPARATOR === '/',
]
]