From 7b0a96900bede09855b41853f9876ecc00d0939b Mon Sep 17 00:00:00 2001 From: Dennis Neuhaeuser Date: Tue, 7 Apr 2015 23:40:54 +0200 Subject: correction of path to squid binaray corrected the base to the squid binary should be SQUID_BASE instead of SQUID_LOCALBASE --- config/squidGuard/squidguard_configurator.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/squidGuard/squidguard_configurator.inc b/config/squidGuard/squidguard_configurator.inc index 38104c89..ca66d89a 100644 --- a/config/squidGuard/squidguard_configurator.inc +++ b/config/squidGuard/squidguard_configurator.inc @@ -702,7 +702,7 @@ function sg_rebuild_db($shtag, $rdb_dbhome, $rdb_itemslist) $sh_scr[] = "chown -R -v " . OWNER_NAME . " $dbhome"; # restart squid for changes to take effects - $sh_scr[] = SQUID_LOCALBASE . "/sbin/squid -k reconfigure"; + $sh_scr[] = SQUID_BASE . "/sbin/squid -k reconfigure"; # store & exec sh $sh_scr = implode("\n", $sh_scr); @@ -2266,7 +2266,7 @@ function sg_update_blacklist($from_file) set_file_access($dbhome, OWNER_NAME, 0755); squidguard_update_log("Reconfigure Squid proxy."); - mwexec(SQUID_LOCALBASE . "/sbin/squid -k reconfigure"); + mwexec(SQUID_BASE . "/sbin/squid -k reconfigure"); squidguard_update_log("Blacklist update complete."); @@ -2405,7 +2405,7 @@ function squidguard_blacklist_restore_arcdb() squidguard_rebuild_db("arc_", $dbhome, $files); squidguard_update_log("Reconfigure Squid proxy."); - mwexec(SQUID_LOCALBASE . "/sbin/squid -k reconfigure"); + mwexec(SQUID_BASE . "/sbin/squid -k reconfigure"); conf_mount_ro(); squidguard_update_log("Restore success."); -- cgit v1.2.3