1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
Daniel Neto 2025-03-05 14:29:45 -03:00
parent b8ed396501
commit dbfa97e7f1

View file

@ -43,7 +43,6 @@ class MaintenanceMode extends PluginAbstract {
$resp->error = true; $resp->error = true;
$resp->msg = $obj->text; $resp->msg = $obj->text;
$resp->MaintenanceMode = true; $resp->MaintenanceMode = true;
$resp->redirectHere = '';
echo (json_encode($resp)); echo (json_encode($resp));
} else if (isContentTypeXML()) { } else if (isContentTypeXML()) {
header("Content-Type: application/xml"); header("Content-Type: application/xml");
@ -99,6 +98,7 @@ class MaintenanceMode extends PluginAbstract {
$obj->endIn = date("Y-m-d H:i:s", strtotime("+1 week")); $obj->endIn = date("Y-m-d H:i:s", strtotime("+1 week"));
$obj->hideClock = false; $obj->hideClock = false;
$obj->backgroundImageURL = $global['webSiteRootURL'] . "plugin/MaintenanceMode/images/bg01.jpg"; $obj->backgroundImageURL = $global['webSiteRootURL'] . "plugin/MaintenanceMode/images/bg01.jpg";
$obj->redirectHere = '';
return $obj; return $obj;
} }