From a7cb39902cd2866d63444ec760485e0474b13448 Mon Sep 17 00:00:00 2001 From: "dorian.hodin" Date: Mon, 6 Mar 2023 15:19:23 +0100 Subject: [PATCH] Try to make API work again 5 --- 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 dc27e11..5a26e0d 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 { - echo ""; + sleep(1); $connection = new Connection($this->dsn,$this->login,$this->password); }catch (PDOException $e){ throw new PDOException($e->getMessage(), $e->getCode(), $e);