mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
refactor: update the default config generated by install.php (#6914)
This commit is contained in:
committed by
Neil Lathwood
parent
5975980dee
commit
5f8729b1a0
@@ -375,7 +375,6 @@ $config_file = <<<"EOD"
|
||||
\$config\['db_pass'\] = '$dbpass';
|
||||
\$config\['db_name'\] = '$dbname';
|
||||
\$config\['db_socket'\] = '$dbsocket';
|
||||
\$config\['db'\]\['extension'\] = "mysqli";// mysql or mysqli
|
||||
|
||||
// This is the user LibreNMS will run as
|
||||
//Please ensure this user is created and has the correct permissions to your install
|
||||
@@ -387,7 +386,7 @@ $config_file = <<<"EOD"
|
||||
\$config\['memcached'\]\['port'\] = 11211;
|
||||
|
||||
### Locations - it is recommended to keep the default
|
||||
\$config\['install_dir'\] = "$install_dir";
|
||||
#\$config\['install_dir'\] = "$install_dir";
|
||||
|
||||
### This should *only* be set if you want to *force* a particular hostname/port
|
||||
### It will prevent the web interface being usable form any other hostname
|
||||
|
@@ -30,7 +30,7 @@ $config['temp_dir'] = '/tmp';
|
||||
$config['log_dir'] = $config['install_dir'].'/logs';
|
||||
|
||||
// MySQL extension to use
|
||||
$config['db']['extension'] = 'mysqli';//mysql and mysqli available
|
||||
$config['db']['extension'] = 'mysqli';
|
||||
// MySQL Debug level
|
||||
$config['mysql_log_level'] = 'ERROR';
|
||||
|
||||
|
Reference in New Issue
Block a user