Maintenance

disable error reporting on maintenance.php and network.php
This commit is contained in:
leiweibau
2022-09-18 17:08:50 +02:00
committed by jokob.sk
parent dc5deaab42
commit 056949aab0
2 changed files with 23 additions and 5 deletions

View File

@@ -1,5 +1,9 @@
<?php
session_start();
// Turn off php errors
error_reporting(0);
if ($_SESSION["login"] != 1)
{
header('Location: index.php');