rabin hace 1 año
padre
commit
7d54ab6c65
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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;
     }