Some cleanups/improvements
[mailer.git] / inc / versions.php
index eec7db5ef53b1872b828e280ea350613fac18d52..0428116f934b262640407a63eb2cf5b4a1a1c596 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 03/07/2009 *
- * ===============                              Last change: 03/07/2009 *
+ * Mailer v0.2.1-FINAL                                Start: 03/07/2009 *
+ * ===================                          Last change: 03/07/2009 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : versions.php                                     *
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -41,12 +40,12 @@ if (!defined('__SECURITY')) {
        die();
 } // END - if
 
-// If you understand regular expressions ^^^ you may know how I versionize... ;-)
-setConfigEntry('FULL_VERSION', getActualVersion('Tag'));
+// Set full version string
+setConfigEntry('FULL_VERSION', getRepositoryData('Tag'));
 
 // Current SVN revision and date
-setConfigEntry('CURR_SVN_REVISION', getActualVersion('Revision'));
-setConfigEntry('CURR_SVN_DATE'    , getActualVersion('Date'));
+setConfigEntry('CURRENT_REPOSITORY_REVISION', getRepositoryData('Revision'));
+setConfigEntry('CURRENT_REPOSITORY_DATE'    , getRepositoryData('Date'));
 
 // [EOF]
 ?>