diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-07-23 19:01:56 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-07-23 19:01:56 +0000 |
commit | 88ea096b3b23a49638c952944fb8dfbdef766dee (patch) | |
tree | d3bc84190d2209eb980967344cbd744b143223ac /etc/inc/system.inc | |
parent | 43cc9e88f8251a3f7bdce1f4d6ee712587a7210e (diff) | |
download | pfsense-88ea096b3b23a49638c952944fb8dfbdef766dee.zip pfsense-88ea096b3b23a49638c952944fb8dfbdef766dee.tar.gz |
Allow captive portal local element manager HTML or HTM pages to display correctly.
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index d7ed15f..6d03f38 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -591,7 +591,7 @@ function system_generate_lighty_config($filename, if($captive_portal == true) { $captiveportal = ",\"mod_rewrite\""; - $captive_portal_rewrite = "url.rewrite-once = ( \"(.*.[Gg][iI][fF]|.*.[Pp][nN][Gg]|.*.[Jj][Pp][Gg])\" => \"$1\", \"(.*)\" => \"/index.php?redirurl=$1\" )"; + $captive_portal_rewrite = "url.rewrite-once = ( \"(.*[hH][tT][mM][lL]|.*[hH][tT][mM]|.*.[Gg][iI][fF]|.*.[Pp][nN][Gg]|.*.[Jj][Pp][Gg])\" => \"$1\", \"(.*)\" => \"/index.php?redirurl=$1\" )"; } if($port <> "") |