From 53274aeb38e259e56cd234986043eccc2cc81a62 Mon Sep 17 00:00:00 2001 From: tanszhe <1018595261@qq.com> Date: Fri, 17 May 2019 10:35:51 +0800 Subject: [PATCH] 644 --- src/Cache/File.php | 2 +- src/Log.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Cache/File.php b/src/Cache/File.php index 2c66184..f0287dc 100644 --- a/src/Cache/File.php +++ b/src/Cache/File.php @@ -16,7 +16,7 @@ class File extends Cache private function mkdir() { if (!is_dir(self::$conf['path'])) { - mkdir(self::$conf['path'], 0755, true); + mkdir(self::$conf['path'], 0644, true); } } diff --git a/src/Log.php b/src/Log.php index bf58389..2349d0e 100644 --- a/src/Log.php +++ b/src/Log.php @@ -71,7 +71,7 @@ class Log private function _log($mixed, $k = 0, $code = 3, $prefix = 'vic') { if (!is_dir(self::$conf['path'])) { - mkdir(self::$conf['path'], 0755, true); + mkdir(self::$conf['path'], 0644, true); } $path = self::$conf['path'] . '/' . $prefix . '-' . date('Y-m-d') . '.log'; if (is_string($mixed)) { -- GitLab