From e57a60f974edf2e01fee7633cfc2e38483a80d24 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Wed, 13 Jul 2016 21:37:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Build.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Build.php b/library/think/Build.php index 8eaf1725..76d82609 100644 --- a/library/think/Build.php +++ b/library/think/Build.php @@ -178,7 +178,7 @@ class Build $content = file_get_contents(THINK_PATH . 'tpl' . DS . 'default_index.tpl'); $content = str_replace(['{$app}', '{$module}', '{layer}', '{$suffix}'], [$namespace, $module ? $module . '\\' : '', 'controller', $suffix ? 'Controller' : ''], $content); if (!is_dir(dirname($filename))) { - mkdir(dirname($filename), 0644, true); + mkdir(dirname($filename), 0755, true); } file_put_contents($filename, $content); }