diff --git a/setup/appupgradecopy.php b/setup/appupgradecopy.php index e271664707..0d6049e7c6 100644 --- a/setup/appupgradecopy.php +++ b/setup/appupgradecopy.php @@ -17,5 +17,10 @@ function AppUpgradeCopyFiles($sSourceDir) $sSource = realpath($sSourceDir.'/datamodels/2.x/itop-core-update'); if ($sSource !== false) { CoreUpdater::CopyDir($sSource, APPROOT.'env-production/itop-core-update'); + } else { + $sSource = realpath($sSourceDir.'/datamodels/1.x/itop-core-update'); + if ($sSource !== false) { + CoreUpdater::CopyDir($sSource, APPROOT.'env-production/itop-core-update'); + } } }