From 35e9878a6ba06257502c5ba664d8e3407012ad00 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 9 Aug 2018 14:04:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=85=8D=E7=BD=AE=E4=B8=80?= =?UTF-8?q?=E5=A4=84=E8=AF=BB=E5=8F=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/App.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/App.php b/library/think/App.php index 2584700118..c27fb87e0c 100644 --- a/library/think/App.php +++ b/library/think/App.php @@ -312,7 +312,7 @@ public function init($module = '') // 自动读取配置文件 if (is_dir($path . 'config')) { - $dir = $path . 'config'; + $dir = $path . 'config'.DIRECTORY_SEPARATOR; } elseif (is_dir($this->configPath . $module)) { $dir = $this->configPath . $module; }