mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +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->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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue