mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 11:19:55 +03:00
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
This commit is contained in:
parent
b4decbe52f
commit
f1f7e5d4ad
6 changed files with 157 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue