mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 10:42:59 +02:00
issue #1852 also forbid extension deletion
This commit is contained in:
@@ -88,6 +88,11 @@ class themes
|
||||
{
|
||||
global $conf;
|
||||
|
||||
if (!$conf['enable_extensions_install'] and 'delete' == $action)
|
||||
{
|
||||
die('Piwigo extensions install/update/delete system is disabled');
|
||||
}
|
||||
|
||||
if (isset($this->db_themes_by_id[$theme_id]))
|
||||
{
|
||||
$crt_db_theme = $this->db_themes_by_id[$theme_id];
|
||||
|
||||
Reference in New Issue
Block a user