X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fversions.php;h=6e35f0562abec288f4a1d2823db7ea6fdc21bad2;hb=2379934be6a196a54f4155bb8e24c49b20736969;hp=e9ca28d13c0220d52a93969c901ff7adeb422d63;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60;p=mailer.git diff --git a/inc/versions.php b/inc/versions.php index e9ca28d13c..6e35f0562a 100644 --- a/inc/versions.php +++ b/inc/versions.php @@ -14,10 +14,9 @@ * $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 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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] ?>