aboutsummaryrefslogtreecommitdiffstats
path: root/config/rate/rate.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/rate/rate.inc')
-rw-r--r--config/rate/rate.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/rate/rate.inc b/config/rate/rate.inc
index 3a2f13a9..a00ee736 100644
--- a/config/rate/rate.inc
+++ b/config/rate/rate.inc
@@ -9,7 +9,7 @@ function rate_install() {
mwexec("cp /usr/local/pkg/bandwidth_by_ip.php /usr/local/www/bandwidth_by_ip.php");
mwexec("cp /usr/local/pkg/status_graph.php /usr/local/www/status_graph.php");
- assign_privs();
+ rate_assign_privs();
/* Clear the APC cache so that the updates to installed files will work. */
apc_clear_cache();
}
@@ -20,7 +20,7 @@ function rate_deinstall() {
mwexec("cp /usr/local/www/status_graph.php.orig /usr/local/www/status_graph.php");
}
-function assign_privs() {
+function rate_assign_privs() {
/* Fix permissions on replaced files */
mwexec("chown root:wheel /usr/local/www/bandwidth_by_ip.php");
mwexec("chown root:wheel /usr/local/www/status_graph.php");