Some cleanups/improvements
[mailer.git] / inc / versions.php
index dc28ad308afec28de7fd277fd87c4f79138a7f2f..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                                     *
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Versionsdefinierungen                            *
  * -------------------------------------------------------------------- *
- * $Revision:: 880                                                    $ *
- * $Date:: 2009-03-07 03:55:57 +0100 (Sat, 07 Mar 2009)               $ *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author:: quix0r                                                   $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
+ * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2008 by Roland Haeder                           *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * 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 *
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
-       require($INC);
+       die();
 } // END - if
 
-// If you understand regular expressions ^^^ you may know how I versionize... ;-)
-define('FULL_VERSION', getActualVersion('Tag'));
+// Set full version string
+setConfigEntry('FULL_VERSION', getRepositoryData('Tag'));
 
 // Current SVN revision and date
-define('CURR_SVN_REVISION', getActualVersion('Revision'));
-define('CURR_SVN_DATE'    , getActualVersion('Date'));
+setConfigEntry('CURRENT_REPOSITORY_REVISION', getRepositoryData('Revision'));
+setConfigEntry('CURRENT_REPOSITORY_DATE'    , getRepositoryData('Date'));
 
-//
+// [EOF]
 ?>