正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -313,6 +313,7 @@ public function downLoadFile($url) | @@ -313,6 +313,7 @@ public function downLoadFile($url) | ||
| 313 | if(!file_exists($targetFile)){ | 313 | if(!file_exists($targetFile)){ | 
| 314 | $file = fopen($targetFile, 'w'); | 314 | $file = fopen($targetFile, 'w'); | 
| 315 | fclose($file); | 315 | fclose($file); | 
| 316 | + chmod($targetFile, 0755); | ||
| 316 | } | 317 | } | 
| 317 | 318 | ||
| 318 | $remoteFile = fopen($url, 'rb'); | 319 | $remoteFile = fopen($url, 'rb'); | 
- 
请 注册 或 登录 后发表评论