mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-05 22:52:49 +08:00
优化代码规范
This commit is contained in:
@@ -30,7 +30,7 @@ class Config
|
||||
if (empty($type)) {
|
||||
$type = substr(strrchr($config, '.'), 1);
|
||||
}
|
||||
$class = '\\think\\config\driver\\' . strtolower($type);
|
||||
$class = '\\think\\config\\driver\\' . strtolower($type);
|
||||
self::set((new $class())->parse($config), '', $range);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user