aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-27 12:38:30 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-27 12:38:30 +0200
commitf49ad99e2552b98b016e34c71b939f41bd7ddc18 (patch)
tree29a813022896c533bbc0b32f16b2e67450c85883 /config
parentbdd002b5ab082d9713216f051aa12dce2783d0d9 (diff)
downloadpfsense-packages-f49ad99e2552b98b016e34c71b939f41bd7ddc18.tar.gz
pfsense-packages-f49ad99e2552b98b016e34c71b939f41bd7ddc18.tar.bz2
pfsense-packages-f49ad99e2552b98b016e34c71b939f41bd7ddc18.zip
Fix log_dir config check
Diffstat (limited to 'config')
-rwxr-xr-xconfig/squid3/34/squid.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc
index a04e624e..e906a1bb 100755
--- a/config/squid3/34/squid.inc
+++ b/config/squid3/34/squid.inc
@@ -1965,7 +1965,7 @@ function squid_resync($via_rpc = "no") {
}
// create log dir if required
if (is_array($config['installedpackages']['squid']['config'])) {
- if ($config['installedpackages']['squid']['config'][0]['active_interface'] != "") {
+ if ($config['installedpackages']['squid']['config'][0]['log_dir'] != "") {
$log_dir = $config['installedpackages']['squid']['config'][0]['log_dir'] . '/';
}
} else {