mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +02:00
issue #1852 ability to disable core/extensions updates
This commit is contained in:
@@ -11,6 +11,11 @@ if( !defined("PHPWG_ROOT_PATH") )
|
||||
die ("Hacking attempt!");
|
||||
}
|
||||
|
||||
if (!$conf['enable_extensions_install'])
|
||||
{
|
||||
die('Piwigo extensions install/update system is disabled');
|
||||
}
|
||||
|
||||
include_once(PHPWG_ROOT_PATH.'admin/include/languages.class.php');
|
||||
|
||||
$template->set_filenames(array('languages' => 'languages_new.tpl'));
|
||||
|
||||
Reference in New Issue
Block a user