From 48dd5db3935c39e6a0d3444f27b122cfc4a8496c Mon Sep 17 00:00:00 2001 From: "dorian.hodin" Date: Mon, 6 Mar 2023 15:21:01 +0100 Subject: [PATCH] Try to make API work again 6 --- Source/API/script/Config/ConnectClass.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/API/script/Config/ConnectClass.php b/Source/API/script/Config/ConnectClass.php index 5a26e0d..feaa2b9 100644 --- a/Source/API/script/Config/ConnectClass.php +++ b/Source/API/script/Config/ConnectClass.php @@ -21,7 +21,7 @@ class ConnectClass{ function connect(): int|Connection { try { - sleep(1); + echo $this->dsn." ".$this->login." ".$this->password; $connection = new Connection($this->dsn,$this->login,$this->password); }catch (PDOException $e){ throw new PDOException($e->getMessage(), $e->getCode(), $e);