mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-25 01:25:34 +08:00
fix a bug
This commit is contained in:
@@ -176,13 +176,8 @@ class WorkerStartEvent implements SwooleEvent
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//加载composer类
|
//加载composer类
|
||||||
Console::info("加载composer资源中");
|
//remove stupid duplicate code
|
||||||
if (file_exists(DataProvider::getWorkingDir() . "/vendor/autoload.php")) {
|
|
||||||
require_once DataProvider::getWorkingDir() . "/vendor/autoload.php";
|
|
||||||
}
|
|
||||||
if (LOAD_MODE == 2) require_once FRAMEWORK_DIR . "/vendor/autoload.php";
|
|
||||||
|
|
||||||
//加载各个模块的注解类,以及反射
|
//加载各个模块的注解类,以及反射
|
||||||
Console::info("检索Module中");
|
Console::info("检索Module中");
|
||||||
|
|||||||
Reference in New Issue
Block a user