This commit is contained in:
Leander
2017-03-02 11:43:05 +01:00
parent cd4a023af6
commit 221c106eb2

View File

@@ -11,8 +11,7 @@ class Database
private $db;
function __construct() {
$this->db = pg_connect("host=".DATABASE_URL." dbmane=".DATABASE_NAME." user=".DATABASE_USER." password=".DATABASE_PASSWORD);
$this->db = "Sebsen";
$this->db = pg_connect("host=".DATABASE_URL." dbname=".DATABASE_NAME." user=".DATABASE_USER." password=".DATABASE_PASSWORD);
print_r ($this->db);
}