rabin 1 ano atrás
pai
commit
7d54ab6c65
1 arquivos alterados com 2 adições e 0 exclusões
  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;
     }