1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
DanieL 2023-02-17 12:38:03 -03:00
parent a6ee5ff144
commit ff507f3d81

View file

@ -20,7 +20,7 @@ if (empty($_COOKIE) && isIframe() && isIframeInDifferentDomain()) {
die('{"error":"isIframeInDifferentDomain"}'); die('{"error":"isIframeInDifferentDomain"}');
} }
require_once $global['systemRootPath'] . 'objects/video.php'; require_once $global['systemRootPath'] . 'objects/video.php';
$obj = new Video("", "", $_REQUEST['id']); $obj = new Video("", "", $_REQUEST['id'], true);
if (empty($obj)) { if (empty($obj)) {
die("Object not found"); die("Object not found");
} }