rabin 1 年之前
父節點
當前提交
7d54ab6c65
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/Dever/File.php

+ 2 - 0
src/Dever/File.php

@@ -16,6 +16,8 @@ class File
         $path = dirname($file);
         if (!is_dir($path)) {
             mkdir($path, 0777, true);
+            @chmod($path, 0755);
+            @system('chmod -R 777 ' . $path);
         }
         return $file;
     }