mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-05 22:52:49 +08:00
闭包路由定义的时候 函数返回值 如果是数组之外的 都会直接输出并exit
This commit is contained in:
@@ -25,10 +25,6 @@ class App
|
||||
*/
|
||||
public static function run(array $config = [])
|
||||
{
|
||||
if (version_compare(PHP_VERSION, '5.4.0', '<')) {
|
||||
throw new Exception('require PHP > 5.4.0 !');
|
||||
}
|
||||
|
||||
// 初始化公共模块
|
||||
self::initModule(COMMON_MODULE, $config);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user