diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-07-06 14:51:26 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-07-06 14:51:26 -0400 |
commit | c371754a804e7a98edbfc3353c2e109a65ae3f8d (patch) | |
tree | 78f4b12f099746965d93a39f568414b734d10e51 /etc | |
parent | 11ecbf135d1a3383af1868dcb9be8dc9143f619b (diff) | |
download | pfsense-c371754a804e7a98edbfc3353c2e109a65ae3f8d.zip pfsense-c371754a804e7a98edbfc3353c2e109a65ae3f8d.tar.gz |
Correct check
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/auth.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index a248a6a..c5616ba 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -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) |