From: tcit Date: Wed, 23 Apr 2014 20:39:43 +0000 (+0200) Subject: Fix #657 and postgresql problems X-Git-Tag: 1.7.0^2~17 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=feecea2806307acc79be1414048ccea11bc946ad;p=github%2Fwallabag%2Fwallabag.git Fix #657 and postgresql problems --- 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
  • - +