mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°4666 - Core Update : handle modules
This commit is contained in:
21
setup/appupgradecopy.php
Normal file
21
setup/appupgradecopy.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
use Combodo\iTop\CoreUpdate\Service\CoreUpdater;
|
||||
|
||||
/**
|
||||
* iTop
|
||||
*
|
||||
* @copyright Copyright (C) 2010,2022 Combodo SARL
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
*
|
||||
*/
|
||||
|
||||
function AppUpgradeCopyFiles($sSourceDir)
|
||||
{
|
||||
// Update Core update files
|
||||
$sSource = realpath($sSourceDir.'/datamodels/2.x/itop-core-update');
|
||||
if ($sSource !== false)
|
||||
{
|
||||
CoreUpdater::CopyDir($sSource, APPROOT.'env-production/itop-core-update');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user