mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 00:02:15 +00:00
reading metadata in shared link
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user