mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
feature:2482
during upgrade, deactivate template-extensions : in practice put an empty array for the config param. extents_for_templates git-svn-id: http://piwigo.org/svn/trunk@14206 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -171,6 +171,15 @@ UPDATE '.PREFIX_TABLE.'user_infos
|
||||
}
|
||||
}
|
||||
|
||||
// Deactivate all templates
|
||||
function deactivate_templates()
|
||||
{
|
||||
$query = '
|
||||
UPDATE '.PREFIX_TABLE.'config
|
||||
SET value = \''. array() .'\'
|
||||
WHERE param = \'extents_for_templates\';';
|
||||
}
|
||||
|
||||
// Check access rights
|
||||
function check_upgrade_access_rights()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user