aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squid.inc')
-rw-r--r--packages/squid.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/squid.inc b/packages/squid.inc
index 7879a874..d0acf191 100644
--- a/packages/squid.inc
+++ b/packages/squid.inc
@@ -1,7 +1,7 @@
<?php
/* $Id$ */
/*
- squid.sh
+ squid.inc
Copyright (C) 2006 Scott Ullrich
Copyright (C) 2006 Fernando Lemos
All rights reserved.
@@ -55,6 +55,11 @@ function squid_get_real_interface_address($iface) {
return array($ip, long2ip(hexdec($netmask)));
}
+/* setup cache */
+function squid_dash_z() {
+ mwexec("/usr/local/sbin/squid -z");
+}
+
function squid_chown_recursive($dir, $user, $group) {
chown($dir, $user);
chgrp($dir, $group);