mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
@@ -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