* finish task #6201.
This commit is contained in:
@@ -92,7 +92,7 @@ class xuanxuanChat extends chatModel
|
||||
$position = strrpos($host, ':');
|
||||
$port = $position === false ? '' : substr($host, $position + 1);
|
||||
$server = $this->config->xuanxuan->server;
|
||||
if($port and strpos($server, ":$port") === false)
|
||||
if($port and strpos($server, ":") === false)
|
||||
{
|
||||
$server = rtrim($server, '/');
|
||||
$server = "{$server}:{$port}";
|
||||
|
||||
Reference in New Issue
Block a user