diff --git a/library/think/config.php b/library/think/config.php index 16ae684f..a0472fd6 100644 --- a/library/think/config.php +++ b/library/think/config.php @@ -129,4 +129,9 @@ class Config } } + // 重置配置参数 + public static function reset($name, $value = null, $range = '') + { + self::$config = []; + } }