update
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -29,12 +29,12 @@ if (!function_exists('auto_choose_db_conf')) {
|
||||
}
|
||||
|
||||
//测试 socket请求这里$domain=null,【上线正式环境之后把null移动到正式环境配置】
|
||||
else if(in_array($domain, ['aaaaa.excn.top','sdsd.zcc10.com'])) {
|
||||
$hostname = '8.130.29.83';
|
||||
else if(in_array($domain, ['fastresponse.excn.vip'])) {
|
||||
$hostname = 'fastresponse_baota.excn.vip';
|
||||
$database = 'fast_response';
|
||||
$username = 'wanghua';
|
||||
$password = '1m2s3456';
|
||||
$hostport = '3308';
|
||||
$username = 'fast_response';
|
||||
$password = 'sKpjrTJ8PrjKWcE2';
|
||||
$hostport = '3312';
|
||||
}
|
||||
|
||||
//本地
|
||||
|
||||
Reference in New Issue
Block a user