mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 20:55:28 +00:00
Remove debug mode
This commit is contained in:
@@ -360,7 +360,6 @@ function readStaticLeasesFile()
|
||||
|
||||
if(isset($_POST["addstatic"]))
|
||||
{
|
||||
$debug = true;
|
||||
$mac = $_POST["AddMAC"];
|
||||
$ip = $_POST["AddIP"];
|
||||
$hostname = $_POST["AddHostname"];
|
||||
@@ -412,7 +411,6 @@ function readStaticLeasesFile()
|
||||
|
||||
if(isset($_POST["removestatic"]))
|
||||
{
|
||||
$debug = true;
|
||||
$mac = $_POST["removestatic"];
|
||||
if(!validMAC($mac))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user