优化代码规范

This commit is contained in:
huangdijia
2015-12-04 22:44:12 +08:00
parent aada435e4b
commit 491e33af8f
4 changed files with 6 additions and 6 deletions

View File

@@ -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);
}