aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squidGuard.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squidGuard.xml')
-rw-r--r--packages/squidGuard.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/squidGuard.xml b/packages/squidGuard.xml
index e003115a..a4e5b60b 100644
--- a/packages/squidGuard.xml
+++ b/packages/squidGuard.xml
@@ -17,7 +17,7 @@
fwrite($fout, "\t }\n");
fwrite($fout, "}\n");
fclose($fout);
- $fout = fopen("/usr/local/etc/squid/squid.conf","w");
+ $fout = fopen("/usr/local/etc/squid/squid.conf","a");
fwrite($fout, "redirect_program /usr/local/bin/squidGuard -c /usr/local/etc/squid/squidGuard.conf\n");
fwrite($fout, "redirect_children 4\n");
fclose($fout);
@@ -42,4 +42,4 @@
system("/usr/local/sbin/squid -k reconfigure");
</custom_php_deinstall_command>
<process_kill_command>squidGuard</process_kill_command>
-</packagegui> \ No newline at end of file
+</packagegui>