aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid_ng.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-13 17:30:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-13 17:30:00 +0000
commita8e98384cd8598146d13b324762e5e0929e1f8bf (patch)
tree512896520c9327023cd61ad6fef53259a67b7544 /packages/squid_ng.inc
parent23c818cc4c6cbefc30d95d91cf12dbeb1182a5bb (diff)
downloadpfsense-packages-a8e98384cd8598146d13b324762e5e0929e1f8bf.tar.gz
pfsense-packages-a8e98384cd8598146d13b324762e5e0929e1f8bf.tar.bz2
pfsense-packages-a8e98384cd8598146d13b324762e5e0929e1f8bf.zip
If $acldir does not exist then touch src_subnets.acl as well
Diffstat (limited to 'packages/squid_ng.inc')
-rw-r--r--packages/squid_ng.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/squid_ng.inc b/packages/squid_ng.inc
index 47a19635..02e152d0 100644
--- a/packages/squid_ng.inc
+++ b/packages/squid_ng.inc
@@ -471,6 +471,7 @@ function global_write_squid_config()
if (isset($allowed_subnets) && ($allowed_subnets !== "")) {
if (!file_exists($acldir)) {
mwexec("/bin/mkdir -p " . $acldir);
+ mwexec("touch {$acldir}/src_subnets.acl");
}
$aclout = fopen($acldir . "/src_subnets.acl","w");