mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Maintenance
disable error reporting on maintenance.php and network.php
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<?php
|
||||
session_start();
|
||||
|
||||
// Turn off php errors
|
||||
error_reporting(0);
|
||||
|
||||
if ($_SESSION["login"] != 1)
|
||||
{
|
||||
header('Location: index.php');
|
||||
|
||||
Reference in New Issue
Block a user