From 233405d75aba8c21d375835adeb0f92d9e6814d6 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 22 Apr 2009 17:36:06 -0400 Subject: Call apc_clear_cache() on filter reload if the function exists to ensure that we have fresh cache and not caching anything negatively. --- etc/inc/filter.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'etc') 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(); -- cgit v1.1