Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Variables | |
$allowedips = get_config('factor_iprange', 'safeips') | |
$enabled | |
$info = $OUTPUT->notification(get_string($message, 'factor_iprange', ['ip' => getremoteaddr()]), $type) | |
global | $OUTPUT |
$type = 'notifyerror' | |
if(trim( $allowedips)=='') else if(remoteip_in_list($allowedips)) | else |