diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-04-22 17:36:06 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-04-22 17:36:38 -0400 |
commit | 233405d75aba8c21d375835adeb0f92d9e6814d6 (patch) | |
tree | b3bf8ab210a19933180a04655239e704c15e315f /etc | |
parent | 2c072899b525a736f45af03e1acad2de91cf938d (diff) | |
download | pfsense-233405d75aba8c21d375835adeb0f92d9e6814d6.zip pfsense-233405d75aba8c21d375835adeb0f92d9e6814d6.tar.gz |
Call apc_clear_cache() on filter reload if the function exists to
ensure that we have fresh cache and not caching anything negatively.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 035835b..44340db 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -42,6 +42,9 @@ require_once("pkg-utils.inc"); require_once("notices.inc"); require_once ("shaper.inc"); +if(function_exists("apc_clear_cache")) + apc_clear_cache(); + /* holds the items that will be executed *AFTER* the filter is fully loaded */ $after_filter_configure_run = array(); |