mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Correct check
This commit is contained in:
parent
11ecbf135d
commit
c371754a80
@ -56,7 +56,7 @@ if (function_exists("display_error_form")) {
|
||||
$found_host = false;
|
||||
if($_SERVER['HTTP_HOST'] == "localhost" or $_SERVER['HTTP_HOST'] == "localhost")
|
||||
$found_host = true;
|
||||
if($_SERVER['HTTP_HOST'] == "127.0.0.1" or $_SERVER['HTTP_HOST'] == "127.0.0.1")
|
||||
if($_SERVER['HTTP_HOST'] == "127.0.0.1" or $_SERVER['SERVER_ADDR'] == "127.0.0.1")
|
||||
$found_host = true;
|
||||
if($config['dyndnses']['dyndns'])
|
||||
foreach($config['dyndnses']['dyndns'] as $dyndns)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user