From c575e412414acfa994a515f069a9ae478d7a558f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 23 Jul 2006 19:03:18 +0000 Subject: Allow captive portal local element manager HTML or HTM pages to display correctly. --- etc/inc/system.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc') 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 <> "") -- cgit v1.1