diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-07-23 19:03:18 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-07-23 19:03:18 +0000 |
commit | c575e412414acfa994a515f069a9ae478d7a558f (patch) | |
tree | 64f19c025b68acf104f2040345b701a3229c00cf /etc/inc/system.inc | |
parent | 88ea096b3b23a49638c952944fb8dfbdef766dee (diff) | |
download | pfsense-c575e412414acfa994a515f069a9ae478d7a558f.zip pfsense-c575e412414acfa994a515f069a9ae478d7a558f.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 6d03f38..0ebf5a9 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 = ( \"(.*[hH][tT][mM][lL]|.*[hH][tT][mM]|.*.[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 <> "") |