From f1f7e5d4ad0d6bb5cbf170063ec7aec2abb3761d Mon Sep 17 00:00:00 2001 From: rvelices Date: Sun, 11 May 2014 08:26:41 +0000 Subject: added a persistent cache mechanism; used so far to cache image ids in flat view mode git-svn-id: http://piwigo.org/svn/trunk@28432 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/plugins_installed.php | 1 + 1 file changed, 1 insertion(+) (limited to 'admin/plugins_installed.php') diff --git a/admin/plugins_installed.php b/admin/plugins_installed.php index d23e51ca4..a804e21ce 100644 --- a/admin/plugins_installed.php +++ b/admin/plugins_installed.php @@ -77,6 +77,7 @@ if (isset($_GET['action']) and isset($_GET['plugin'])) if ($_GET['action'] == 'activate' or $_GET['action'] == 'deactivate') { $template->delete_compiled_templates(); + $persistent_cache->purge(true); } redirect($base_url); } -- cgit v1.2.3