modify plugin name

This commit is contained in:
2022-02-15 17:25:14 +08:00
parent 81f3278dd7
commit e26e16ba26
2 changed files with 5 additions and 2 deletions
+4
View File
@@ -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();
}