mirror of
https://github.com/xevidos/codiad.git
synced 2024-11-10 21:26:35 +01:00
Fixed syntax error on install/process.php and added sqlite option as database
This commit is contained in:
parent
040eb58ae0
commit
cc599a1036
@ -98,11 +98,12 @@ if ( ! ( defined( "DBHOST" ) && defined( "DBNAME" ) && defined( "DBUSER" ) && de
|
|||||||
$aValidDBType = [
|
$aValidDBType = [
|
||||||
'mysql'
|
'mysql'
|
||||||
,'postgresql'
|
,'postgresql'
|
||||||
|
,'sqlite'
|
||||||
];
|
];
|
||||||
|
|
||||||
//Is selected database type valid?
|
//Is selected database type valid?
|
||||||
if(!in_array($dbtype,$aValidDBType)){
|
if(!in_array($dbtype,$aValidDBType)){
|
||||||
die( "Invalid database. Please select one of ".implode(", "$aValidDBType)."." );
|
die( "Invalid database. Please select one of ".implode(", ",$aValidDBType)."." );
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user