diff --git a/init.php b/init.php index e1abea1..b37b392 100644 --- a/init.php +++ b/init.php @@ -1,6 +1,18 @@ false ]; - $dsn = "pgsql:host=$host;dbname=$db;port=5432"; + $dsn = "pgsql:host=$host;dbname=$db;port=$port"; $pdo = new PDO($dsn, $user, $pass, $opt); // Error-Message