Correct regex. We want PNG's to work as well.

This commit is contained in:
Scott Ullrich 2006-06-05 23:34:15 +00:00
parent 89b096729d
commit 8977946a86

View File

@ -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 <> "")