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 = "