From dbd839cfee93f4d9981127864a3c20f8474609c2 Mon Sep 17 00:00:00 2001 From: amc Date: Wed, 7 Sep 2016 08:52:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=B8=A4=E5=A4=84=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- convention.php | 2 +- library/think/Validate.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/convention.php b/convention.php index 6a841a30..133dbd36 100644 --- a/convention.php +++ b/convention.php @@ -89,7 +89,7 @@ return [ 'url_route_must' => false, // 域名部署 'url_domain_deploy' => false, - // 域名根,如.thinkphp.cn + // 域名根,如thinkphp.cn 'url_domain_root' => '', // 是否自动转换URL中的控制器和操作名 'url_convert' => true, diff --git a/library/think/Validate.php b/library/think/Validate.php index 475edbc9..471bb150 100644 --- a/library/think/Validate.php +++ b/library/think/Validate.php @@ -546,7 +546,7 @@ class Validate $result = is_numeric($value); break; case 'integer': - // 是否为整形 + // 是否为整型 $result = $this->filter($value, FILTER_VALIDATE_INT); break; case 'email':