Function __global->_log_hack_attack_and_exit
Definitions
sources/failure.php
- Log a hackattack, and depending on advanced banning settings might also notify the staff and/or exit with an error.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$reason | ID_TEXT | required parameter | N/A | N/A | The reason for the hack-attack. This has to be a language string codename |
$reason_param_a | SHORT_TEXT | Blank (empty string) | N/A | N/A | A parameter for the hack-attack language string (this should be based on a unique ID, preferably) |
$reason_param_b | SHORT_TEXT | Blank (empty string) | N/A | N/A | A more illustrative parameter, which may be anything (e.g. a title) |
$risk_score | integer | 10 | N/A | N/A | The default risk score for this hack attack; could be overridden by advanced banning |