X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fversions.php;h=eec7db5ef53b1872b828e280ea350613fac18d52;hb=4939d0ea8f0846283675f45c1d47f15b587789aa;hp=dd2428255914169c76077a7ba9a1e96189bef5b0;hpb=e1c0f940af34a6ed5b00b3f37ad739f0a05b2793;p=mailer.git diff --git a/inc/versions.php b/inc/versions.php index dd24282559..eec7db5ef5 100644 --- a/inc/versions.php +++ b/inc/versions.php @@ -17,7 +17,7 @@ * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * - * Copyright (c) 2003 - 2008 by Roland Haeder * + * Copyright (c) 2003 - 2009 by Roland Haeder * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -38,16 +38,15 @@ // 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')); +setConfigEntry('FULL_VERSION', getActualVersion('Tag')); // Current SVN revision and date -define('CURR_SVN_REVISION', getActualVersion('Revision')); -define('CURR_SVN_DATE' , getActualVersion('Date')); +setConfigEntry('CURR_SVN_REVISION', getActualVersion('Revision')); +setConfigEntry('CURR_SVN_DATE' , getActualVersion('Date')); -// +// [EOF] ?>