X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fversions.php;h=71588bb632795acd8cc5e51aa5897015e9e56def;hb=86cd70ff024c1e32d9f19dc215628eda18bb510b;hp=404e6fe79ba250ce444d2b8ea84bd540e9737c6b;hpb=c8d76610eb94093d4eed4fcd8a6cb72e74c8f6d8;p=mailer.git diff --git a/inc/versions.php b/inc/versions.php index 404e6fe79b..71588bb632 100644 --- a/inc/versions.php +++ b/inc/versions.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2011 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 * @@ -40,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] ?>