mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 15:34:12 +01:00
* merging 3.0 into develop * N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth * migration to iTop 3.1 Co-authored-by: Eric Espie <eric.espie@combodo.com>
22 lines
486 B
PHP
22 lines
486 B
PHP
<?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)
|
|
{
|
|
CoreUpdater::CopyDir($sSourceDir, APPROOT);
|
|
// 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');
|
|
}
|
|
} |