mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix url. Do not include mod_accesslog twice
This commit is contained in:
parent
2953848baf
commit
ec192fe543
@ -783,7 +783,7 @@ function system_generate_lighty_config($filename,
|
||||
if($captive_portal == true) {
|
||||
$captiveportal = ",\"mod_rewrite\"";
|
||||
$captive_portal_rewrite = "url.rewrite-once = ( \"(.*captiveportal.*)\" => \"$1\", \"(.*)\" => \"/index.php?redirurl=$1\" )\n";
|
||||
$captive_portal_module = "\"mod_accesslog\", ";
|
||||
$captive_portal_module = "";
|
||||
$maxprocperip = $config['captiveportal']['maxprocperip'];
|
||||
if(!$maxprocperip and $maxprocperip > 0)
|
||||
$captive_portal_mod_evasive = "evasive.max-conns-per-ip = {$maxprocperip}";
|
||||
|
||||
@ -149,7 +149,7 @@ include("head.inc");
|
||||
<table border="0" cellspacing="0" cellpadding="1">
|
||||
<tr>
|
||||
<td width="17" heigth="17"></td>
|
||||
<td><a href="services_captiveportal_hostnam_edit.php"><img src="/themes/<?php echo $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add address"); ?>" width="17" height="17" border="0"></a></td>
|
||||
<td><a href="services_captiveportal_hostname_edit.php"><img src="/themes/<?php echo $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add address"); ?>" width="17" height="17" border="0"></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user