From ec8234d5b641097c4d5ae08368e7f05d04a1147b Mon Sep 17 00:00:00 2001 From: thinkphp Date: Wed, 1 Jun 2016 12:14:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=94=B9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helper.php | 2 +- library/think/Config.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helper.php b/helper.php index ce25b9e6..d796aa48 100644 --- a/helper.php +++ b/helper.php @@ -84,7 +84,7 @@ function lang($name, $vars = [], $lang = '') /** * 获取和设置配置参数 - * @param string $name 参数名 + * @param string|array $name 参数名 * @param mixed $value 参数值 * @param string $range 作用域 * @return mixed diff --git a/library/think/Config.php b/library/think/Config.php index 2c833111..ed1f1e7b 100644 --- a/library/think/Config.php +++ b/library/think/Config.php @@ -136,7 +136,7 @@ class Config /** * 设置配置参数 name为数组则为批量设置 - * @param string $name 配置参数名(支持二级配置 .号分割) + * @param string|array $name 配置参数名(支持二级配置 .号分割) * @param mixed $value 配置值 * @param string $range 作用域 * @return mixed