$_c to $config in php file

This commit is contained in:
Ibnu Maksum 2024-02-29 09:25:26 +07:00
parent a0b9e85f38
commit 2437096473
No known key found for this signature in database
GPG key ID: 7FC82848810579E5
3 changed files with 6 additions and 6 deletions

View file

@ -36,9 +36,9 @@ switch ($action) {
$logo = $UPLOAD_PATH . DIRECTORY_SEPARATOR . 'logo.default.png';
}
$ui->assign('logo', $logo);
if ($_c['radius_enable'] && empty($_c['radius_client'])) {
if ($config['radius_enable'] && empty($config['radius_client'])) {
try {
$_c['radius_client'] = Radius::getClient();
$config['radius_client'] = Radius::getClient();
$ui->assign('_c', $_c);
} catch (Exception $e) {
//ignore