From 51ebc7316a6cc3bf7fb548e8c185e81ff858d76d Mon Sep 17 00:00:00 2001 From: taggon Date: Thu, 17 Nov 2011 09:16:56 +0000 Subject: [PATCH] Add __XE_VERSION__ git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9840 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- config/config.inc.php | 3 ++- index.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/config.inc.php b/config/config.inc.php index ce2788579..0e50a57a5 100644 --- a/config/config.inc.php +++ b/config/config.inc.php @@ -13,7 +13,8 @@ * @brief display XE's full version * Even The file should be revised when releasing altough no change is made **/ - define('__ZBXE_VERSION__', '1.5.0.8'); + define('__XE_VERSION__', '1.5.0.8'); + define('__ZBXE_VERSION__', __XE_VERSION__); // deprecated : __ZBXE_VERSION__ will be removed. Use __XE_VERSION__ instead. /** * @brief The base path to where you installed zbXE Wanted diff --git a/index.php b/index.php index a0bd9cec0..2a25abc6f 100644 --- a/index.php +++ b/index.php @@ -33,8 +33,8 @@ /** * @brief Declare constants for generic use and for checking to avoid a direct call from the Web **/ - define('__ZBXE__', true); // deprecated : The constant ZBXE will be removed. Use XE instead. define('__XE__', true); + define('__ZBXE__', true); // deprecated : __ZBXE__ will be removed. Use __XE__ instead. /** * @brief Include the necessary configuration files