mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-26 16:18:47 +00:00
18 lines
476 B
PHP
18 lines
476 B
PHP
<?php
|
|
/*************************************
|
|
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
************************************/
|
|
|
|
/* crmv@181161 */
|
|
|
|
if (vtlib_isModuleActive('Update')) {
|
|
$VP = VTEProperties::getInstance();
|
|
|
|
$docheck = $VP->get('update.check_updates');
|
|
if ($docheck == 1) {
|
|
require_once('modules/Update/AutoUpdater.php');
|
|
$class = new AutoUpdater();
|
|
$class->statusHandler();
|
|
}
|
|
} |