X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fversions.php;h=71588bb632795acd8cc5e51aa5897015e9e56def;hp=e9ca28d13c0220d52a93969c901ff7adeb422d63;hb=6f9f29d5caee60a2cceae33a7a53e1b4c7319a0c;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60 diff --git a/inc/versions.php b/inc/versions.php index e9ca28d13c..71588bb632 100644 --- a/inc/versions.php +++ b/inc/versions.php @@ -14,11 +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 * - * 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 * @@ -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] ?>