mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Correct regex. We want PNG's to work as well.
This commit is contained in:
parent
89b096729d
commit
8977946a86
@ -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 <> "")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user