mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-28 06:34:14 +01:00
22 lines
651 B
PHP
22 lines
651 B
PHP
<?php
|
|
/**
|
|
* @copyright Copyright (C) 2010-2021 Combodo SARL
|
|
* @license http://opensource.org/licenses/AGPL-3.0
|
|
*/
|
|
|
|
namespace Combodo\iTop\CoreUpdate;
|
|
|
|
use Combodo\iTop\CoreUpdate\Controller\UpdateController;
|
|
use ContextTag;
|
|
|
|
require_once(APPROOT.'application/startup.inc.php');
|
|
$oCtxCoreUpdate = new ContextTag(ContextTag::TAG_SETUP);
|
|
|
|
$oUpdateController = new UpdateController(MODULESROOT.'itop-core-update/view', 'itop-core-update');
|
|
$oUpdateController->DisableInDemoMode();
|
|
$oUpdateController->AllowOnlyAdmin();
|
|
$oUpdateController->SetDefaultOperation('SelectUpdateFile');
|
|
$oUpdateController->HandleOperation();
|
|
|
|
unset($oCtxCoreUpdate);
|