This commit is contained in:
2025-03-24 16:10:06 +08:00
parent 4632eb8d0b
commit 81042c384c
2 changed files with 7 additions and 7 deletions

View File

@@ -23,12 +23,12 @@ if (!function_exists('auto_choose_app_conf')) {
$domain = $_SERVER['HTTP_HOST']; //获取当前域名 (含端口号)
if(in_array($domain, ['xxx.playone.cn'])){
//正式 - 全域名
$debug = true;
$debug = false;
$trace = false;
$sys_env = 'PROD';
}
//测试
else if(in_array($domain, ['ssss.excn.top','xxx.com'])) {
else if(in_array($domain, ['fastresponse.excn.vip','xxx.com'])) {
$debug = true;
$trace = false;
$sys_env = 'DEV';