mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-08-30 12:45:32 +08:00
增加应用的环境变量配置文件 增加ROOT_PATH常量定义 runtime目录默认移到ROOT_PATH录下面
This commit is contained in:
@@ -28,6 +28,9 @@ class App
|
||||
*/
|
||||
public static function run()
|
||||
{
|
||||
// 加载环境变量配置文件
|
||||
Config::loadEnv(APP_PATH . 'env' . EXT);
|
||||
|
||||
// 初始化应用(公共模块)
|
||||
self::initModule(COMMON_MODULE, Config::get());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user