commit
e1ffce6a38
@ -231,7 +231,7 @@ foreach ($aAllBlocks as $iIndex => $aBlock) {
|
||||
}
|
||||
} else {
|
||||
$aMailData = array(
|
||||
'email' => $setting->getValue('website_email'),
|
||||
'email' => $setting->getValue('system_error_email'),
|
||||
'subject' => 'Payout processing aborted',
|
||||
'Error' => 'Potential double payout detected. All payouts halted until fixed!',
|
||||
'BlockID' => $aBlock['id'],
|
||||
|
||||
@ -125,7 +125,7 @@ foreach ($aAllBlocks as $iIndex => $aBlock) {
|
||||
} else {
|
||||
$log->logFatal('Possible double payout detected. Aborted.');
|
||||
$aMailData = array(
|
||||
'email' => $setting->getValue('website_email'),
|
||||
'email' => $setting->getValue('system_error_email'),
|
||||
'subject' => 'Payout Failure: Double Payout',
|
||||
'Error' => 'Possible double payout detected',
|
||||
'BlockID' => $aBlock['id'],
|
||||
|
||||
@ -172,6 +172,13 @@ $aSettings['acl'][] = array(
|
||||
'name' => 'acl_round_statistics', 'value' => $setting->getValue('acl_round_statistics'),
|
||||
'tooltip' => 'Make the round statistics page private (users only) or public.'
|
||||
);
|
||||
$aSettings['system'][] = array(
|
||||
'display' => 'E-mail address for system error notifications', 'type' => 'text',
|
||||
'size' => 25,
|
||||
'default' => 'test@example.com',
|
||||
'name' => 'system_error_email', 'value' => $setting->getValue('system_error_email'),
|
||||
'tooltip' => 'The email address for system errors notifications, like cronjobs failures.'
|
||||
);
|
||||
$aSettings['system'][] = array(
|
||||
'display' => 'Disable e-mail confirmations', 'type' => 'select',
|
||||
'options' => array( 0 => 'No', 1 => 'Yes' ),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user