mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update
This commit is contained in:
parent
b8ed396501
commit
dbfa97e7f1
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,6 @@ class MaintenanceMode extends PluginAbstract {
|
|||
$resp->error = true;
|
||||
$resp->msg = $obj->text;
|
||||
$resp->MaintenanceMode = true;
|
||||
$resp->redirectHere = '';
|
||||
echo (json_encode($resp));
|
||||
} else if (isContentTypeXML()) {
|
||||
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->hideClock = false;
|
||||
$obj->backgroundImageURL = $global['webSiteRootURL'] . "plugin/MaintenanceMode/images/bg01.jpg";
|
||||
$obj->redirectHere = '';
|
||||
return $obj;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue