Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian König <ckoenig@posteo.de>2022-08-21 00:07:38 +0300
committerChristian König <ckoenig@posteo.de>2022-08-21 00:07:38 +0300
commiteeccfb27f85fdf82d9e9e05ab0ed457c10bac11e (patch)
tree685e8b397d2e49e45c8dac93dc1f891aa43f8508
parent8c4a9aa6e3306e1fe47cfc04fe579e26b51e758c (diff)
Remove it also from index.php together with more unused variablesemail
Signed-off-by: Christian König <ckoenig@posteo.de>
-rw-r--r--advanced/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/advanced/index.php b/advanced/index.php
index 350eb602..9a2b19e6 100644
--- a/advanced/index.php
+++ b/advanced/index.php
@@ -34,7 +34,7 @@ if ($serverName === "pi.hole"
// When directly browsing via IP or authorized hostname
// Render splash/landing page based off presence of $landPage file
// Unset variables so as to not be included in $landPage or $splashPage
- unset($svPasswd, $svEmail, $authorizedHosts, $validExtTypes, $currentUrlExt);
+ unset($authorizedHosts);
// If $landPage file is present
if (is_file(getcwd()."/$landPage")) {
unset($serverName, $viewPort); // unset extra variables not to be included in $landpage