X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-add_rallye.php;h=d22abccd5eda15dfb24caebfaee7abd84ce5382b;hb=8ee39f4094e71546b3cf7e4edb97492be0ea349e;hp=b9cafd89476b054354d991c630f79793bf6c3bf4;hpb=143e78d4231adddd9e706cbf55ec5dd8c1651890;p=mailer.git diff --git a/inc/modules/admin/what-add_rallye.php b/inc/modules/admin/what-add_rallye.php index b9cafd8947..d22abccd5e 100644 --- a/inc/modules/admin/what-add_rallye.php +++ b/inc/modules/admin/what-add_rallye.php @@ -38,7 +38,7 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) { } // Add description as navigation point -ADD_DESCR("admin", basename(__FILE__)); +ADD_DESCR("admin", __FILE__); if (isset($_POST['ok'])) { @@ -108,9 +108,9 @@ define('_START_MONTH', ADD_SELECTION("month", date("m", time()), "start")); define('_START_YEAR' , ADD_SELECTION("year" , date('Y', time()), "start")); // Calcualte ending date -$D = date("d", time() + (ONE_DAY * 7)); -$M = date("m", time() + (ONE_DAY * 7)); -$Y = date('Y', time() + (ONE_DAY * 7)); +$D = date("d", time() + ($_CONFIG['one_day'] * 7)); +$M = date("m", time() + ($_CONFIG['one_day'] * 7)); +$Y = date('Y', time() + ($_CONFIG['one_day'] * 7)); // Ending day define('_END_SEC' , ADD_SELECTION("sec" , "0" , "end"));