From feecea2806307acc79be1414048ccea11bc946ad Mon Sep 17 00:00:00 2001 From: tcit Date: Wed, 23 Apr 2014 22:39:43 +0200 Subject: [PATCH] Fix #657 and postgresql problems --- install/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/index.php b/install/index.php index b6c6abec..e702891b 100755 --- a/install/index.php +++ b/install/index.php @@ -101,7 +101,7 @@ else if (isset($_POST['install'])) { $sql_structure = file_get_contents('install/mysql.sql'); } - else if ($_POST['db_engine'] == 'postgresql') { + else if ($_POST['db_engine'] == 'postgres') { $db_path = 'pgsql:host=' . $_POST['pg_server'] . ';dbname=' . $_POST['pg_database']; $content = str_replace("define ('STORAGE_SERVER', 'localhost');", "define ('STORAGE_SERVER', '".$_POST['pg_server']."');", $content); $content = str_replace("define ('STORAGE_DB', 'poche');", "define ('STORAGE_DB', '".$_POST['pg_database']."');", $content); @@ -262,7 +262,7 @@ php composer.phar install
  • - +