mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +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() {
|
||||
global $global, $config;
|
||||
if ($this->shouldEnterInMaintenencaMode()) {
|
||||
//header('HTTP/1.0 403 Forbidden');
|
||||
header('HTTP/1.0 403 Forbidden');
|
||||
if (isContentTypeJson()) {
|
||||
$obj = $this->getDataObject();
|
||||
header("Content-Type: application/json");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue