fixed
This commit is contained in:
@@ -28,8 +28,8 @@ if (!function_exists('auto_choose_app_conf')) {
|
||||
$sys_env = 'PROD';
|
||||
}
|
||||
//测试
|
||||
else if(in_array($domain, ['fastresponse.excn.vip','xxx.com'])) {
|
||||
$debug = true;
|
||||
else if(in_array($domain, ['fastresponsefirm.excn.vip','xxx.com'])) {
|
||||
$debug = false;
|
||||
$trace = false;
|
||||
$sys_env = 'DEV';
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ if (!function_exists('auto_choose_db_conf')) {
|
||||
}
|
||||
|
||||
//测试 socket请求这里$domain=null,【上线正式环境之后把null移动到正式环境配置】
|
||||
else if(in_array($domain, ['fastresponse.excn.vip'])) {
|
||||
else if(in_array($domain, ['fastresponsefirm.excn.vip'])) {
|
||||
$hostname = 'fastresponse_baota.excn.vip';
|
||||
$database = 'fast_response';
|
||||
$username = 'fast_response';
|
||||
|
||||
@@ -28,8 +28,8 @@ if (!function_exists('auto_choose_app_conf')) {
|
||||
$sys_env = 'PROD';
|
||||
}
|
||||
//测试
|
||||
else if(in_array($domain, ['fastresponse.excn.vip','xxx.com'])) {
|
||||
$debug = true;
|
||||
else if(in_array($domain, ['fastrespsuperadmin.excn.vip','xxx.com'])) {
|
||||
$debug = false;
|
||||
$trace = false;
|
||||
$sys_env = 'DEV';
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ if (!function_exists('auto_choose_db_conf')) {
|
||||
}
|
||||
|
||||
//测试 socket请求这里$domain=null,【上线正式环境之后把null移动到正式环境配置】
|
||||
else if(in_array($domain, ['fastresponse.excn.vip'])) {
|
||||
else if(in_array($domain, ['fastrespsuperadmin.excn.vip'])) {
|
||||
$hostname = 'fastresponse_baota.excn.vip';
|
||||
$database = 'fast_response';
|
||||
$username = 'fast_response';
|
||||
|
||||
Reference in New Issue
Block a user