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