From b32cff235960ee8fbfe1f3f03f1cdeeefaea3168 Mon Sep 17 00:00:00 2001 From: jitendra Date: Mon, 11 Feb 2019 15:10:47 +0530 Subject: [PATCH] Installer issue fixed --- public/installer/install.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/installer/install.php b/public/installer/install.php index c763cf083..dc9ce0a90 100755 --- a/public/installer/install.php +++ b/public/installer/install.php @@ -11,12 +11,13 @@ if (file_exists($envFile)) { // reading env content - $str= file_get_contents($envFile); + $str = file_get_contents($envFile); // converting env content to key/value pair $data = explode(PHP_EOL,$str); $databaseArray = ['DB_HOST', 'DB_DATABASE', 'DB_USERNAME', 'DB_PASSWORD', 'DB_CONNECTION']; + $key = $value = []; if ($data) { foreach ($data as $line) { $rowValues = explode('=', $line);