From 178508aa37fd59d3846b1b99f3c392a3e31fb026 Mon Sep 17 00:00:00 2001 From: quix0r Date: Fri, 6 Mar 2009 20:25:20 +0000 Subject: [PATCH] SERVER_URL should be set before getActualVersion() is called --- inc/databases.php | 6 +++--- templates/de/html/copyright.tpl | 2 +- templates/de/html/copyright_backlink.tpl | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index b687096cfe..7e3f7d06ae 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -78,6 +78,9 @@ define('CODE_LOGIN_FAILED' , 0x020); define('CODE_BEG_SAME_AS_OWN' , 0x021); define('CODE_UNHANDLED_STATUS' , 0x022); +// Server-URL (DO NOT CHANGE THIS OR YOU CANNOT CHECK FOR UPDATES/EXTENSIONS!) +define('SERVER_URL', "http://www.mxchange.org"); + // Full version string: /([0-9]){1}\.([0-9]){1}\.([0-9]){1}(-(alpha|beta|pre|rc([1-3]))([0-9]+))?/ // If you understand regular expressions ^^^ you may know how I versionize... ;-) define('FULL_VERSION', getActualVersion('Tag')); @@ -98,9 +101,6 @@ setConfigEntry('one_day', (60*60*24)); define('START_YDAY', MAKE_TIME(0, 0, 0, time() - getConfig('one_day'))); define('START_TDAY', MAKE_TIME(0, 0, 0, time())); -// Server-URL (DO NOT CHANGE THIS OR YOU CANNOT CHECK FOR UPDATES/EXTENSIONS!) -define('SERVER_URL', "http://www.mxchange.org"); - // Current SVN revision define('CURR_SVN_REVISION', getActualVersion('Revision'));define('CURR_SVN_DATE' , getActualVersion('Date')); // Take a prime number which is long (if you know a longer one please try it out!) diff --git a/templates/de/html/copyright.tpl b/templates/de/html/copyright.tpl index 71ca20ca8d..4ebd42f278 100644 --- a/templates/de/html/copyright.tpl +++ b/templates/de/html/copyright.tpl @@ -1,7 +1,7 @@