dever hace 7 años
padre
commit
d22a103309
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/Store/Local.php

+ 3 - 0
src/Store/Local.php

@@ -52,6 +52,9 @@ class Local extends Core implements Config
 				unlink($this->data['file']['tmp_name']);
 			}
 
+			@chmod($this->output['file'], 0755);
+            @system('chmod -R 777 ' . $this->output['file']);
+
 			return $this->output['url'];
 		}
 	}