mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-03 17:54:41 +02:00
commit
ce47ee1533
1 changed files with 10 additions and 0 deletions
10
init.php
10
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue