From: Roland Häder Date: Fri, 6 Mar 2009 20:25:20 +0000 (+0000) Subject: SERVER_URL should be set before getActualVersion() is called X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=96d45e85fe5f2a32d27068235151111f9b997490;p=mailer.git SERVER_URL should be set before getActualVersion() is called --- 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 @@