mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 18:01:31 +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_core_update'])
|
||||
{
|
||||
die('Piwigo core update system is disabled');
|
||||
}
|
||||
|
||||
include_once(PHPWG_ROOT_PATH.'admin/include/updates.class.php');
|
||||
include_once(PHPWG_ROOT_PATH.'admin/include/pclzip.lib.php');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user