Skip to content

Commit

Permalink
Re-add incorrectly removed variables.
Browse files Browse the repository at this point in the history
Signed-off-by: DL6ER <[email protected]>
  • Loading branch information
DL6ER committed Jul 24, 2021
1 parent 4e1f7c2 commit 6a315fc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,17 @@
<?php } ?>

<?php
f (isset($setupVars["PIHOLE_INTERFACE"])) {
$piHoleInterface = $setupVars["PIHOLE_INTERFACE"];
} else {
$piHoleInterface = "unknown";
}
if (isset($setupVars["IPV4_ADDRESS"])) {
$piHoleIPv4 = $setupVars["IPV4_ADDRESS"];
} else {
$piHoleIPv4 = "unknown";
}

// DNS settings
$DNSservers = [];
$DNSactive = [];
Expand Down

0 comments on commit 6a315fc

Please sign in to comment.