- define('__AP_IN_SINCE' , CREATE_TIME_SELECTIONS($CONFIG['ap_in_since'] , "ap_inactive_since" , "MWDh"));
- define('__AP_IN_TIME' , CREATE_TIME_SELECTIONS($CONFIG['ap_in_time'] , "ap_inactive_time" , "MWDh"));
- define('__AP_UN_TIME' , CREATE_TIME_SELECTIONS($CONFIG['ap_un_time'] , "ap_unconfirmed_time", "MWDh"));
- define('__AP_TASK_TIME' , CREATE_TIME_SELECTIONS($CONFIG['ap_tasks_time'], "ap_tasks_time" , "MWDh"));
- define('__AP_DEL_MAILS_TIME', CREATE_TIME_SELECTIONS($CONFIG['ap_dm_timeout'], "ap_dm_timeout" , "MWDh"));
+ define('__AP_IN_SINCE' , CREATE_TIME_SELECTIONS(getConfig('ap_inactive_since'), "ap_inactive_since" , "MWDh"));
+ define('__AP_IN_TIME' , CREATE_TIME_SELECTIONS(getConfig('ap_in_time') , "ap_inactive_time" , "MWDh"));
+ define('__AP_UN_TIME' , CREATE_TIME_SELECTIONS(getConfig('ap_un_time') , "ap_unconfirmed_time", "MWDh"));
+ define('__AP_TASK_TIME' , CREATE_TIME_SELECTIONS(getConfig('ap_tasks_time') , "ap_tasks_time" , "MWDh"));
+ define('__AP_DEL_MAILS_TIME', CREATE_TIME_SELECTIONS(getConfig('ap_dm_timeout') , "ap_dm_timeout" , "MWDh"));