mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
feature 2541 multisize
- nicer presentation on picture.php - added a maintenance purge derivatives action git-svn-id: http://piwigo.org/svn/trunk@12797 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -121,12 +121,17 @@ DELETE
|
||||
pwg_query($query);
|
||||
break;
|
||||
}
|
||||
case 'compiled-templates' :
|
||||
case 'compiled-templates':
|
||||
{
|
||||
$template->delete_compiled_templates();
|
||||
FileCombiner::clear_combined_files();
|
||||
break;
|
||||
}
|
||||
case 'derivatives':
|
||||
{
|
||||
clear_derivative_cache();
|
||||
break;
|
||||
}
|
||||
default :
|
||||
{
|
||||
break;
|
||||
@@ -154,6 +159,7 @@ $template->assign(
|
||||
'U_MAINT_C13Y' => sprintf($url_format, 'c13y'),
|
||||
'U_MAINT_SEARCH' => sprintf($url_format, 'search'),
|
||||
'U_MAINT_COMPILED_TEMPLATES' => sprintf($url_format, 'compiled-templates'),
|
||||
'U_MAINT_DERIVATIVES' => sprintf($url_format, 'derivatives'),
|
||||
'U_HELP' => get_root_url().'admin/popuphelp.php?page=maintenance',
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user