SERVER_URL should be set before getActualVersion() is called
authorRoland Häder <roland@mxchange.org>
Fri, 6 Mar 2009 20:25:20 +0000 (20:25 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 6 Mar 2009 20:25:20 +0000 (20:25 +0000)
inc/databases.php
templates/de/html/copyright.tpl
templates/de/html/copyright_backlink.tpl

index b687096..7e3f7d0 100644 (file)
@@ -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!)
index 71ca20c..4ebd42f 100644 (file)
@@ -1,7 +1,7 @@
 <table border="0" cellspacing="0" cellpadding="0" align="center">
        <tr>
                <td align="center" class="footer_lines">
-                       {!TITLE!} v{!FULL_VERSION!}<!-- R{!CURR_SVN_REVISION!}//--><br />
+                       {!TITLE!} v{!FULL_VERSION!} R{!CURR_SVN_REVISION!}<br />
                        Copyright &copy; 2003 - 2008 by Roland H&auml;der
                </td>
                <td align="center" width="50%" class="footer_lines">This
index 9b9e1a6..68f9d89 100644 (file)
@@ -2,7 +2,7 @@
        <tr>
                <td align="center" class="footer_lines">
                        [<a href="{!SERVER_URL!}/" title="{!TITLE!}" target="_blank" rel="external">{!TITLE!}</a>]
-                       v{!FULL_VERSION!}<!-- R{!CURR_SVN_REVISION!}//--><br />
+                       v{!FULL_VERSION!} R{!CURR_SVN_REVISION!}<br />
                        {!COPY!}
                </td>
                <td align="center" width="50%" class="footer_lines">