mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update
This commit is contained in:
parent
dbfa97e7f1
commit
177ed74008
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue