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