mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-02 16:00:40 +00:00
Merge branch 'v4.3.0' of https://gitee.com/ZhongBangKeJi/CRMEB into v4.3.0
This commit is contained in:
commit
cb58579754
@ -24,7 +24,7 @@ if (!function_exists('getWorkerManUrl')) {
|
||||
*/
|
||||
function getWorkerManUrl()
|
||||
{
|
||||
$ws = $_SERVER['HTTPS'] == 'on' ? 'wss://' : 'ws://';
|
||||
$ws = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS']) == 'on' ? 'wss://' : 'ws://';
|
||||
$host = $_SERVER['HTTP_HOST'];
|
||||
$data['admin'] = $ws . $host . '/notice';
|
||||
$data['channel'] = $ws . $host . '/msg';
|
||||
@ -32,7 +32,6 @@ if (!function_exists('getWorkerManUrl')) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!function_exists('exception')) {
|
||||
/**
|
||||
* 抛出异常处理
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user