X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fversions.php;h=0428116f934b262640407a63eb2cf5b4a1a1c596;hb=5f70ac9d208ca39e3381705afcad2654a700a850;hp=65a66bf6221e7de1d46bcc40eefece5e9fbd2c1f;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa;p=mailer.git diff --git a/inc/versions.php b/inc/versions.php index 65a66bf622..0428116f93 100644 --- a/inc/versions.php +++ b/inc/versions.php @@ -14,12 +14,10 @@ * $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 * - * Copyright (c) 2009, 2010 by Mailer Developer Team * - * 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 * @@ -42,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] ?>