We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7c55c4 commit 441e3ceCopy full SHA for 441e3ce
bin/simps.php
@@ -6,10 +6,12 @@
6
7
error_reporting(E_ALL);
8
9
-! defined('BASE_PATH') && define('BASE_PATH', dirname(__DIR__, 1));
10
-! defined('SWOOLE_HOOK_FLAGS') && define('SWOOLE_HOOK_FLAGS', SWOOLE_HOOK_ALL);
11
-! defined('CONFIG_PATH') && define('CONFIG_PATH', dirname(__DIR__) . '/config/');
+!defined('BASE_PATH') && define('BASE_PATH', dirname(__DIR__, 1));
+!defined('SWOOLE_HOOK_FLAGS') && define('SWOOLE_HOOK_FLAGS', SWOOLE_HOOK_ALL);
+!defined('CONFIG_PATH') && define('CONFIG_PATH', dirname(__DIR__) . '/config/');
12
13
require BASE_PATH . '/vendor/autoload.php';
14
15
+\Swoole\Runtime::enableCoroutine(SWOOLE_HOOK_FLAGS);
16
+
17
Simps\Application::run();
0 commit comments