From 8977946a86808d6dbe3858ff01d6725d20da8ea6 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 5 Jun 2006 23:34:15 +0000 Subject: Correct regex. We want PNG's to work as well. --- etc/inc/system.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc/system.inc') diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 04718c5..b2d34ff 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -565,7 +565,7 @@ function system_generate_lighty_config($filename, if($captive_portal == true) { $captiveportal = ",\"mod_rewrite\""; - $captive_portal_rewrite = "url.rewrite-once = ( \"(.*.gif|.*.png.|.*.jpg)\" => \"$1\", \"(.*)\" => \"/index.php?redirurl=$1\" )"; + $captive_portal_rewrite = "url.rewrite-once = ( \"(.*.gif|.*.png|.*.jpg)\" => \"$1\", \"(.*)\" => \"/index.php?redirurl=$1\" )"; } if($port <> "") -- cgit v1.1