Merge pull request #3737 from michi-zuri/patch-2

Update index.php
This commit is contained in:
Adam Warner
2020-09-06 13:00:01 +01:00
committed by GitHub

View File

@ -24,7 +24,7 @@ unset($setupVars);
$landPage = "../landing.php";
// Define array for hostnames to be accepted as self address for splash page
$authorizedHosts = [];
$authorizedHosts = [ "localhost" ];
if (!empty($_SERVER["FQDN"])) {
// If setenv.add-environment = ("fqdn" => "true") is configured in lighttpd,
// append $serverName to $authorizedHosts