diff --git a/approot.inc.php b/approot.inc.php index a180e8560..e56fe770e 100644 --- a/approot.inc.php +++ b/approot.inc.php @@ -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'; diff --git a/core/config.class.inc.php b/core/config.class.inc.php index 6036b8f02..2adc5023c 100644 --- a/core/config.class.inc.php +++ b/core/config.class.inc.php @@ -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);