9d81df05 by Jeff Balicki

d

1 parent 35c355c8
...@@ -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 }
......