d
Showing
1 changed file
with
1 additions
and
0 deletions
| ... | @@ -122,6 +122,7 @@ class ApiController extends Controller | ... | @@ -122,6 +122,7 @@ class ApiController extends Controller |
| 122 | $curl = new Curl(); | 122 | $curl = new Curl(); |
| 123 | $curl->download($fileLocation.'/'.end($file), $storagePath . $folder . '/' . end($file)); | 123 | $curl->download($fileLocation.'/'.end($file), $storagePath . $folder . '/' . end($file)); |
| 124 | $curl->close(); | 124 | $curl->close(); |
| 125 | chmod( $storagePath . $folder . '/' . end($file), 0644); | ||
| 125 | 126 | ||
| 126 | } | 127 | } |
| 127 | } | 128 | } | ... | ... |
-
Please register or sign in to post a comment