N°4714 move constant from core/config.class.inc.php to approot.inc.php

see N°4406
This commit is contained in:
Pierre Goiffon
2022-02-01 11:34:09 +01:00
parent 45b5c39af7
commit f0715baf7d
2 changed files with 13 additions and 11 deletions

View File

@@ -3,4 +3,17 @@
define('APPROOT', dirname(__FILE__).'/');
define('APPCONF', APPROOT.'conf/');
/**
* Constant containing the iTop core version, whatever application was built
*
* Note that in iTop 3.0.0 we used {@see ITOP_DESIGN_LATEST_VERSION} to get core version.
* When releasing, both constants should be updated : see `.make/release/update-versions.php` for that !
*
* @since 2.7.7 3.0.1 3.1.0 N°4714 constant creation
* @used-by utils::GetItopPatchVersion
*/
define('ITOP_CORE_VERSION', '2.7.7');
require_once APPROOT.'bootstrap.inc.php';

View File

@@ -31,17 +31,6 @@ define('ITOP_APPLICATION_SHORT', 'iTop');
*/
define('ITOP_VERSION', '2.7.0-dev');
/**
* Constant containing the iTop core version, whatever application was built
*
* Note that in iTop 3.0.0 we used {@see ITOP_DESIGN_LATEST_VERSION} to get core version.
* When releasing, both constants should be updated : see `.make/release/update-versions.php` for that !
*
* @since 2.7.7 3.0.1 3.1.0 N°4714 constant creation
* @used-by utils::GetItopPatchVersion
*/
define('ITOP_CORE_VERSION', '2.7.7');
define('ITOP_REVISION', 'svn');
define('ITOP_BUILD_DATE', '$WCNOW$');
define('ITOP_VERSION_FULL', ITOP_VERSION.'-'.ITOP_REVISION);