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'];
 		}
 	}