From caa6fec895f78e7fba1fc72fd18c712a94e827a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 31 Aug 2020 02:08:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- system/Abstracts/BaseApplication.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Abstracts/BaseApplication.php b/system/Abstracts/BaseApplication.php index 1549d612..99941b21 100644 --- a/system/Abstracts/BaseApplication.php +++ b/system/Abstracts/BaseApplication.php @@ -148,7 +148,7 @@ abstract class BaseApplication extends Service $storage = APP_PATH . $storage . '/'; } if (!is_dir($storage)) { - mkdir($storage, 777); + mkdir($storage); } if (!is_dir($storage) || !is_writeable($storage)) { throw new InitException("Directory {$storage} does not have write permission");