From ff4554f9a477dbe24b5af1f2d2b50ae0a31720f3 Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 11 Mar 2023 20:15:47 -0500 Subject: [PATCH] Revert "Update Embedfiles.php" This reverts commit 36f124beffb1cc455398804db18edbc21453776e. --- Code/Module/Embedfiles.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Code/Module/Embedfiles.php b/Code/Module/Embedfiles.php index 771f31802..13b9b0c44 100644 --- a/Code/Module/Embedfiles.php +++ b/Code/Module/Embedfiles.php @@ -31,10 +31,13 @@ class Embedfiles extends Controller $data = json_decode($json); $resource_id = $data->hash; + $arr = $data->uid; var_dump($_POST["hash"]); - + print("
".print_r($arr,true)."
"); + exit; + // $x = self::sharelink($resource_id, $channel_id); - $x = self::sharelink($_POST["hash"]); + $x = self::sharelink($data); if ($x) { json_return_and_die(['status' => true, 'sharelink' => $x, 'resource_id' => $resource_id]); }