dever пре 7 година
родитељ
комит
d22a103309
1 измењених фајлова са 3 додато и 0 уклоњено
  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'];
 		}
 	}