diff --git a/application/Core/Model.php b/application/Core/Model.php index c7502c9..7602a2f 100644 --- a/application/Core/Model.php +++ b/application/Core/Model.php @@ -18,7 +18,7 @@ function __construct() { try { self::openDatabaseConnection(); - } catch (PDOException $e) { + } catch (\PDOException $e) { exit('Database connection could not be established.'); } }