From e307b72e79b47661cb79bcdac068e3fa95c77ac1 Mon Sep 17 00:00:00 2001 From: tanszhe <1018595261@qq.com> Date: Fri, 17 May 2019 14:09:09 +0800 Subject: [PATCH] 755 --- 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 f0287dc..2c66184 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'], 0644, true); + mkdir(self::$conf['path'], 0755, true); } } diff --git a/src/Log.php b/src/Log.php index 2349d0e..bf58389 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'], 0644, true); + mkdir(self::$conf['path'], 0755, true); } $path = self::$conf['path'] . '/' . $prefix . '-' . date('Y-m-d') . '.log'; if (is_string($mixed)) { -- GitLab