改名
This commit is contained in:
@@ -358,6 +358,9 @@ class Server extends Application
|
||||
if ($this->isUse($config['port'])) {
|
||||
return $this->error_stop($config['host'], $config['port']);
|
||||
}
|
||||
if (isset($config['settings']) && !empty($config['settings'])) {
|
||||
$settings = array_merge($settings, $config['settings']);
|
||||
}
|
||||
$this->baseServer = new $class($config['host'], $config['port'], SWOOLE_PROCESS, $config['mode']);
|
||||
$settings['daemonize'] = $this->daemon;
|
||||
if (!isset($settings['pid_file'])) {
|
||||
|
||||
Reference in New Issue
Block a user