- 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' , createTimeSelections(getConfig('holiday_lock') , "holiday_lock" , "WDh"));