From 165e80e3afbf2db6cce85231aeb8df8a54daee54 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Mon, 4 Jan 2016 17:10:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Build=E7=B1=BB=E7=9A=84?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E7=94=9F=E6=88=90=E7=9A=84=E7=B1=BB=E5=90=8D?= =?UTF-8?q?=E8=A7=84=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Build.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/think/Build.php b/library/think/Build.php index e65573ae..62f88a14 100644 --- a/library/think/Build.php +++ b/library/think/Build.php @@ -97,17 +97,17 @@ class Build } else { // 生成相关MVC文件 foreach ($file as $val) { - $filename = $modulePath . $path . DS . Loader::parseName($val) . EXT; + $filename = $modulePath . $path . DS . $val . EXT; $namespace = APP_NAMESPACE . '\\' . ($module ? $module . '\\' : '') . $path; switch ($path) { - case CONTROLLER_LAYER: // 控制器 + case CONTROLLER_LAYER: // 控制器 $content = "