1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
Daniel Neto 2025-03-05 14:31:09 -03:00
parent dbfa97e7f1
commit 177ed74008

View file

@ -4,8 +4,8 @@ require_once dirname(__FILE__) . '/../../videos/configuration.php';
if(empty($obj)){
$obj = AVideoPlugin::getDataObject('MaintenanceMode');
}
if(!empty($resp->redirectHere) && isValidURL($resp->redirectHere)){
header("Location: {$resp->redirectHere}", true, 302);
if(!empty($obj->redirectHere) && isValidURL($obj->redirectHere)){
header("Location: {$obj->redirectHere}", true, 302);
exit;
}
?>