default: // Do stuff when extension is loaded
$dummy = LOAD_CONFIG();
- // Maximum of listed transfers for out- and in-transfers
- $_CONFIG['transfer_max'] = $dummy['transfer_max'];
- // Age in seconds
- $_CONFIG['transfer_age'] = $dummy['transfer_age'];
- // Lock timeout for member settings
- $_CONFIG['transfer_timeout'] = $dummy['transfer_timeout'];
- // Balance after points transfer
- $_CONFIG['transfer_balance'] = $dummy['transfer_balance'];
- // Length of touring code
- $_CONFIG['transfer_code'] = $dummy['transfer_code'];
- // Length of touring code
- $_CONFIG['ap_transfer'] = $dummy['ap_transfer'];
+ $_CONFIG = array_merge($_CONFIG, $dummy);
unset($dummy);
if ((defined('__DAILY_RESET')) && ($_CONFIG['ap_transfer'] == 'Y'))