From e20db2b31ac6e6784aac69f56e86c8b4f7337453 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 17 Jun 2016 14:44:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Build=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Build.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/think/Build.php b/library/think/Build.php index c1806680..a981caef 100644 --- a/library/think/Build.php +++ b/library/think/Build.php @@ -133,14 +133,14 @@ class Build foreach ($file as $val) { $val = trim($val); $filename = $modulePath . $path . DS . $val . ($suffix ? ucfirst($path) : '') . EXT; - $namespace = $namespace . '\\' . ($module ? $module . '\\' : '') . $path; + $space = $namespace . '\\' . ($module ? $module . '\\' : '') . $path; $class = $val . ($suffix ? ucfirst($path) : ''); switch ($path) { case 'controller': // 控制器 - $content = "