From 6b3109c5d3b822fa117c1c06cb42e57f67852619 Mon Sep 17 00:00:00 2001 From: RemRem Date: Fri, 10 Nov 2023 08:16:33 +0100 Subject: [PATCH] update --- app/database_init.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/database_init.php b/app/database_init.php index b2437e2..6f65202 100644 --- a/app/database_init.php +++ b/app/database_init.php @@ -9,10 +9,10 @@ class DatabaseInit { public function __construct() { if(getenv("IS_DB_INIT") != true) {} - try { + #try { $this->con = (new DatabaseCon)->connect(); - } catch(PDOException $e) { - throw new PDOException($e->getMessage(), $e->getCode(), $e); + #} catch(PDOException $e) { + # throw new PDOException($e->getMessage(), $e->getCode(), $e); $this->createUserTable(); $this->createFileTable(); putenv("IS_DB_INIT=true");