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 2023-06-04 21:07:26 -03:00
parent b598264b08
commit 940ca344f8

View file

@ -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");