From de933fd538b25807922efabee8adb1d67cb9c75c Mon Sep 17 00:00:00 2001 From: Daniel Neto Date: Wed, 3 Jan 2024 19:41:05 -0300 Subject: [PATCH] https://github.com/WWBN/AVideo/issues/8761#issuecomment-1876045669 --- objects/videoAddNew.json.php | 1 + 1 file changed, 1 insertion(+) diff --git a/objects/videoAddNew.json.php b/objects/videoAddNew.json.php index a75a3dbace83..789a719529a7 100644 --- a/objects/videoAddNew.json.php +++ b/objects/videoAddNew.json.php @@ -5,6 +5,7 @@ $global['systemRootPath'] = '../'; } require_once $global['systemRootPath'] . 'videos/configuration.php'; +allowOrigin(); require_once $global['systemRootPath'] . 'objects/user.php'; if (!User::canUpload()) { die('{"error":"1 ' . __("Permission denied") . '"}');