diff --git a/library/think/Config.php b/library/think/Config.php index d7c3dc56..fb5340d8 100644 --- a/library/think/Config.php +++ b/library/think/Config.php @@ -59,6 +59,7 @@ class Config self::$config[$range] = []; } if (is_file($file)) { + $name = strtolower($name); $type = pathinfo($file, PATHINFO_EXTENSION); if ('php' == $type) { return self::set(include $file, $name, $range);