Skip to content

Commit

Permalink
feat: display alert message update
Browse files Browse the repository at this point in the history
  • Loading branch information
We1337-alpha committed Mar 3, 2024
1 parent de86747 commit f500cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $e) {
echo "Connection failed: ". $e->getMessage();
echo "<div class='alert alert-info' role='alert'>Connection failed: " . $e->getMessage() . "</div>";
}
// $conn = null; connection closed

0 comments on commit f500cb2

Please sign in to comment.