modify plugin name

This commit is contained in:
2022-02-14 10:42:27 +08:00
parent f1a9b74122
commit 567ceb69c0
2 changed files with 89 additions and 130 deletions
+2 -2
View File
@@ -42,7 +42,7 @@ class Server extends HttpService
public State $state;
public ServerManager $manager;
public Kiri\Server\Coroutine\Http $manager;
/**
@@ -50,7 +50,7 @@ class Server extends HttpService
*/
public function init()
{
$this->manager = Kiri::getContainer()->get(ServerManager::class);
$this->manager = Kiri::getContainer()->get(Kiri\Server\Coroutine\Http::class);
$enable_coroutine = Config::get('servers.settings.enable_coroutine', false);
Config::set('servers.settings.enable_coroutine', true);
if ($enable_coroutine != true) {