改名
This commit is contained in:
@@ -208,6 +208,11 @@ class Server extends Application
|
|||||||
if (!($this->baseServer instanceof \Swoole\Server)) {
|
if (!($this->baseServer instanceof \Swoole\Server)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$attributes = Snowflake::app()->getAttributes();
|
||||||
|
$attributes->readControllers(CONTROLLER_PATH, 'controllers');
|
||||||
|
$attributes->readControllers(SOCKET_PATH, 'sockets');
|
||||||
|
|
||||||
$processes = Config::get('processes');
|
$processes = Config::get('processes');
|
||||||
if (!empty($processes) && is_array($processes)) {
|
if (!empty($processes) && is_array($processes)) {
|
||||||
$this->deliveryProcess(merge($processes, $this->process));
|
$this->deliveryProcess(merge($processes, $this->process));
|
||||||
|
|||||||
Reference in New Issue
Block a user