File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1515error_reporting (E_ALL );
1616
1717! defined ('BASE_PATH ' ) && define ('BASE_PATH ' , dirname (__DIR__ , 1 ));
18+
1819require BASE_PATH . '/vendor/autoload.php ' ;
20+
1921! defined ('SWOOLE_HOOK_FLAGS ' ) && define ('SWOOLE_HOOK_FLAGS ' , Hyperf \Engine \DefaultOption::hookFlags ());
2022
2123// Self-called anonymous function that creates its own scope and keep the global namespace clean.
Original file line number Diff line number Diff line change @@ -9,10 +9,11 @@ error_reporting(E_ALL);
99date_default_timezone_set ('%TIME_ZONE% ' );
1010
1111! defined ('BASE_PATH ' ) && define ('BASE_PATH ' , dirname (__DIR__ , 1 ));
12- ! defined ('SWOOLE_HOOK_FLAGS ' ) && define ('SWOOLE_HOOK_FLAGS ' , Hyperf \Engine \DefaultOption::hookFlags ());
1312
1413require BASE_PATH . '/vendor/autoload.php ' ;
1514
15+ ! defined ('SWOOLE_HOOK_FLAGS ' ) && define ('SWOOLE_HOOK_FLAGS ' , Hyperf \Engine \DefaultOption::hookFlags ());
16+
1617// Self-called anonymous function that creates its own scope and keep the global namespace clean.
1718(function () {
1819 Hyperf \Di \ClassLoader::init ();
You can’t perform that action at this time.
0 commit comments