mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Remove debug output
This commit is contained in:
@@ -18,8 +18,6 @@ function validDomain($domain_name)
|
||||
return ( $validChars && $lengthCheck && $labelLengthCheck ); //length of each label
|
||||
}
|
||||
|
||||
$debug = $_POST;
|
||||
|
||||
$primaryDNSservers = [
|
||||
"8.8.8.8" => "Google",
|
||||
"208.67.222.222" => "OpenDNS",
|
||||
|
||||
@@ -21,14 +21,6 @@
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if(isset($debug)){ ?>
|
||||
<div id="alDebug" class="alert alert-warning alert-dismissible fade in" role="alert">
|
||||
<button type="button" class="close" data-hide="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4><i class="icon fa fa-warning"></i> Debug</h4>
|
||||
<?php echo $debug; ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user