diff options
author | Sergey Dvoriancev <dv_serg@mail.ru> | 2012-10-31 21:34:43 +0400 |
---|---|---|
committer | Sergey Dvoriancev <dv_serg@mail.ru> | 2012-10-31 21:34:43 +0400 |
commit | d12fb47fb84ca2d531b33e4c9eb5fc4742f2364d (patch) | |
tree | 17af305992eed5a1049484d0ddbb225d0f2fac40 /config | |
parent | 94a3782309323efdfcdf802679f76354dbdd79ad (diff) | |
download | pfsense-packages-d12fb47fb84ca2d531b33e4c9eb5fc4742f2364d.tar.gz pfsense-packages-d12fb47fb84ca2d531b33e4c9eb5fc4742f2364d.tar.bz2 pfsense-packages-d12fb47fb84ca2d531b33e4c9eb5fc4742f2364d.zip |
Update config/squidGuard/squidguard_configurator.inc
Check exists 'squid_resync' function.
Diffstat (limited to 'config')
-rw-r--r-- | config/squidGuard/squidguard_configurator.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/squidGuard/squidguard_configurator.inc b/config/squidGuard/squidguard_configurator.inc index 59690183..bfa94ca9 100644 --- a/config/squidGuard/squidguard_configurator.inc +++ b/config/squidGuard/squidguard_configurator.inc @@ -446,7 +446,10 @@ function squid_reconfigure($remove_only = '') $config['installedpackages']['squid']['config'][0]['custom_options'] = $conf; write_config('Update redirector options to squid config.'); - squid_resync(); + # resync squid package, if installed + if (function_exists('squid_resync')) { + squid_resync(); + } } # ------------------------------------------------------------------------------ |