summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2011-01-25 14:55:54 -0500
committerScott Ullrich <sullrich@pfsense.org>2011-01-25 14:55:54 -0500
commitec192fe5439c0c10e4e6bbf7a40ac4e5294fe998 (patch)
treef67868bb55a123c56697dc960efc370c84fda86f
parent2953848baf6d831f12519ef9c52fe4fc4751c07a (diff)
downloadpfsense-ec192fe5439c0c10e4e6bbf7a40ac4e5294fe998.zip
pfsense-ec192fe5439c0c10e4e6bbf7a40ac4e5294fe998.tar.gz
Fix url. Do not include mod_accesslog twice
-rw-r--r--etc/inc/system.inc2
-rwxr-xr-xusr/local/www/services_captiveportal_hostname.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index a21c61f..4a8214d 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -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}";
diff --git a/usr/local/www/services_captiveportal_hostname.php b/usr/local/www/services_captiveportal_hostname.php
index c7503ca..0c11378 100755
--- a/usr/local/www/services_captiveportal_hostname.php
+++ b/usr/local/www/services_captiveportal_hostname.php
@@ -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>
OpenPOWER on IntegriCloud