mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
refactor: set mysqli as the default + cleanup (#4430)
* refactor: set mysqli as the default dbFacile.mysqli cleanup Init $db_stats array number_format() returns string remove unreachable statement, commented code, and unused global * Fix style issues
This commit is contained in:
committed by
Neil Lathwood
parent
e8b5c7fe66
commit
ce95ceaa2b
@@ -43,7 +43,7 @@ $config['temp_dir'] = '/tmp';
|
||||
$config['log_dir'] = $config['install_dir'].'/logs';
|
||||
|
||||
// MySQL extension to use
|
||||
$config['db']['extension'] = 'mysql';//mysql and mysqli available
|
||||
$config['db']['extension'] = 'mysqli';//mysql and mysqli available
|
||||
|
||||
// What is my own hostname (used to identify this host in its own database)
|
||||
$config['own_hostname'] = 'localhost';
|
||||
|
Reference in New Issue
Block a user