X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_holiday.php;h=56f823b9280445123ce75ffbfeb8853bbe061437;hb=77cdaff2afb97ed32985ced906a3a95ee078c2ef;hp=ffb49497d7733fda098c08c2dc82c30c5039b786;hpb=dbeb4ef1dc2e59d0c6bfab9d9666cdfa515f58e7;p=mailer.git diff --git a/inc/modules/admin/what-config_holiday.php b/inc/modules/admin/what-config_holiday.php index ffb49497d7..56f823b928 100644 --- a/inc/modules/admin/what-config_holiday.php +++ b/inc/modules/admin/what-config_holiday.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'])) { @@ -48,10 +48,10 @@ if (isset($_POST['ok'])) else { // Prepare constants for the template - define('__MAX_VALUE', $_CONFIG['holiday_max']); - define('__LOCKED' , CREATE_TIME_SELECTIONS($_CONFIG['holiday_lock'] , "holiday_lock" , "WDh")); + define('__MAX_VALUE', getConfig('holiday_max')); + define('__LOCKED' , CREATE_TIME_SELECTIONS(getConfig('holiday_lock') , "holiday_lock" , "WDh")); - switch ($_CONFIG['holiday_mode']) { + switch (getConfig('holiday_mode')) { case "RESET": define('__RESET_DEFAULT' , " checked=\"checked\""); define('__DIRECT_DEFAULT', "");