reading metadata in shared link

This commit is contained in:
Peter Papp
2020-08-25 11:03:53 +02:00
parent 9f4c21a1b1
commit 6f9f2f2d34
17 changed files with 4296 additions and 4582 deletions

View File

@@ -32,8 +32,7 @@ class FileSharingController extends Controller
public function index($token)
{
// Get shared token
$shared = Share::where(\DB::raw('BINARY `token`'), $token)
->first();
$shared = get_shared($token);
if (! $shared) {
return view("index");