From 0ec283151791edca285472c3d24046bf73032ac3 Mon Sep 17 00:00:00 2001 From: Shadez Date: Thu, 30 Dec 2010 01:09:14 +0800 Subject: [PATCH] [431] Display/write CONFIG_VERSION as string --- includes/armory_loader.php | 4 ++-- includes/revision_nr.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/armory_loader.php b/includes/armory_loader.php index bac48344a..65bec5339 100644 --- a/includes/armory_loader.php +++ b/includes/armory_loader.php @@ -3,7 +3,7 @@ /** * @package World of Warcraft Armory * @version Release Candidate 1 - * @revision 429 + * @revision 431 * @copyright (c) 2009-2010 Shadez * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @@ -84,7 +84,7 @@ } } elseif(CONFIG_VERSION != $armory->armoryconfig['configVersion']) { - $CfgError = sprintf('ConfigVersion error: your config version is outdated (current: %d, expected: %d).
+ $CfgError = sprintf('ConfigVersion error: your config version is outdated (current: %s, expected: %s).
Please, update your config file from configuration.php.default', $armory->armoryconfig['configVersion'], CONFIG_VERSION); if(isset($armory->armoryconfig['checkVersionType']) && $armory->armoryconfig['checkVersionType'] == 'log') { $armory->Log()->writeError('ArmoryChecker : %s', $CfgError); diff --git a/includes/revision_nr.php b/includes/revision_nr.php index 9b601b37d..9aa10ffaf 100644 --- a/includes/revision_nr.php +++ b/includes/revision_nr.php @@ -1,5 +1,5 @@ \ No newline at end of file