Skip to content

Commit 154161e

Browse files
committed
Ajmo se pomoliti
1 parent 7de313c commit 154161e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/WorkerJS/PHPClient/PostgresTaskStore.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ class PostgresTaskStore extends TaskStore {
1414
public function __construct($client){
1515
parent::__construct($client);
1616

17+
$connection = parse_url($this->client->getSetting("store")["uri"]);
18+
$params = "host=".$connection["host"]." dbname=".trim($connection["path"], "/")." user=".$connection["user"]." password=".$connection["pass"]:
19+
1720
$this->connection = pg_connect($this->client->getSetting("store")["uri"]);
1821
}
1922

0 commit comments

Comments
 (0)