zhoudw
2022-03-16 3401fa4ac406cddf26bf4f94b663ace2e1dba8ed
runtime/container/proxy/App_Controller_WebsocketController.proxy.php
@@ -48,9 +48,7 @@
        $this->__handlePropertyHandler(__CLASS__);
        // 第一个参数对应日志的 name, 第二个参数对应 config/autoload/logger.php 内的 key
        $this->logger = $loggerFactory->get('log', 'default');
        //获取 server.php 里的内容
        $this->server_config = $this->config->get('server.servers', '');
        $this->allow_ip = $this->server_config[0]['allow_ip'];
        $this->allow_ip = $this->config->get('allow_ip', '');
    }
    public function onClose($server, int $fd, int $reactorId) : void
    {