mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
b598264b08
commit
940ca344f8
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class MaintenanceMode extends PluginAbstract {
|
||||||
public function getStart() {
|
public function getStart() {
|
||||||
global $global, $config;
|
global $global, $config;
|
||||||
if ($this->shouldEnterInMaintenencaMode()) {
|
if ($this->shouldEnterInMaintenencaMode()) {
|
||||||
//header('HTTP/1.0 403 Forbidden');
|
header('HTTP/1.0 403 Forbidden');
|
||||||
if (isContentTypeJson()) {
|
if (isContentTypeJson()) {
|
||||||
$obj = $this->getDataObject();
|
$obj = $this->getDataObject();
|
||||||
header("Content-Type: application/json");
|
header("Content-Type: application/json");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue