mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-25 14:20:18 +00:00
Remove it also from index.php together with more unused variables
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
8c4a9aa6e3
commit
eeccfb27f8
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ if ($serverName === "pi.hole"
|
||||||
// When directly browsing via IP or authorized hostname
|
// When directly browsing via IP or authorized hostname
|
||||||
// Render splash/landing page based off presence of $landPage file
|
// Render splash/landing page based off presence of $landPage file
|
||||||
// Unset variables so as to not be included in $landPage or $splashPage
|
// 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 $landPage file is present
|
||||||
if (is_file(getcwd()."/$landPage")) {
|
if (is_file(getcwd()."/$landPage")) {
|
||||||
unset($serverName, $viewPort); // unset extra variables not to be included in $landpage
|
unset($serverName, $viewPort); // unset extra variables not to be included in $landpage
|
||||||
|
|
Loading…
Reference in a new issue