Update init.php
@ -348,3 +348,13 @@ function displayMaintenanceMessage(): void
$ui->display('maintenance.tpl');
die();
}
function isMysqlRadius()
{
try {
$record = ORM::forTable('radacct', 'radius')->find_one();
return $record !== false;
} catch (Exception $e) {
return false;
The note is not visible to the blocked user.