Fixed syntax error on install/process.php and added sqlite option as database

This commit is contained in:
alvarenga.milton 2019-04-01 21:48:13 -03:00
parent 040eb58ae0
commit cc599a1036

View File

@ -98,11 +98,12 @@ if ( ! ( defined( "DBHOST" ) && defined( "DBNAME" ) && defined( "DBUSER" ) && de
$aValidDBType = [
'mysql'
,'postgresql'
,'sqlite'
];
//Is selected database type valid?
if(!in_array($dbtype,$aValidDBType)){
die( "Invalid database. Please select one of ".implode(", "$aValidDBType)."." );
die( "Invalid database. Please select one of ".implode(", ",$aValidDBType)."." );
}
try {