Improved file downloading
This commit is contained in:
parent
3fb739c4e4
commit
59fb0eae4f
7 changed files with 83 additions and 196 deletions
|
@ -150,7 +150,7 @@ class ServerController extends Controller
|
|||
$download = new Download;
|
||||
|
||||
$download->token = Uuid::generate(4);
|
||||
$download->server = $server->id;
|
||||
$download->server = $server->uuid;
|
||||
$download->path = str_replace('../', '', $file);
|
||||
|
||||
$download->save();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue