mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 02:04:53 +02:00
fix init radius, double check password
This commit is contained in:
parent
533d46bbf5
commit
20fdb688ad
2 changed files with 6 additions and 1 deletions
3
init.php
3
init.php
|
@ -110,6 +110,9 @@ if (empty($http_proxy) && !empty($config['http_proxy'])) {
|
|||
date_default_timezone_set($config['timezone']);
|
||||
|
||||
if ((!empty($radius_user) && $config['radius_enable']) || _post('radius_enable')) {
|
||||
if(!empty($radius_password)){
|
||||
$radius_pass = $radius_password;
|
||||
}
|
||||
ORM::configure("mysql:host=$radius_host;dbname=$radius_name", null, 'radius');
|
||||
ORM::configure('username', $radius_user, 'radius');
|
||||
ORM::configure('password', $radius_pass, 'radius');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue