From cc599a1036bfca14db5a056c7d70110492aa5057 Mon Sep 17 00:00:00 2001 From: "alvarenga.milton" Date: Mon, 1 Apr 2019 21:48:13 -0300 Subject: [PATCH] Fixed syntax error on install/process.php and added sqlite option as database --- components/install/process.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/install/process.php b/components/install/process.php index 7777822..7c7fafa 100755 --- a/components/install/process.php +++ b/components/install/process.php @@ -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 { @@ -405,4 +406,4 @@ define("WSURL", BASE_URL . "/workspace"); saveFile( $config, $config_data ); echo( "success" ); -} \ No newline at end of file +}