refactor: update the default config generated by install.php (#6914)

This commit is contained in:
Tony Murray
2017-06-29 01:09:22 -05:00
committed by Neil Lathwood
parent 5975980dee
commit 5f8729b1a0
2 changed files with 2 additions and 3 deletions

View File

@@ -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

View File

@@ -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';