modify plugin name
This commit is contained in:
@@ -17,6 +17,7 @@ use Psr\Container\ContainerExceptionInterface;
|
||||
use Psr\Container\NotFoundExceptionInterface;
|
||||
use ReflectionException;
|
||||
use Swoole\Coroutine;
|
||||
use Kiri\Message\Handler\Router;
|
||||
|
||||
|
||||
defined('PID_PATH') or define('PID_PATH', APP_PATH . 'storage/server.pid');
|
||||
@@ -81,6 +82,7 @@ class Server extends HttpService
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
* @throws ReflectionException
|
||||
* @throws Exception
|
||||
*/
|
||||
public function start(): void
|
||||
{
|
||||
@@ -97,6 +99,8 @@ class Server extends HttpService
|
||||
|
||||
$this->getEventDispatch()->dispatch(new OnServerBeforeStart());
|
||||
|
||||
$this->getContainer()->get(Router::class)->scan_build_route();
|
||||
|
||||
$this->manager->start();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user