Skip to content

Commit

Permalink
Update index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoey2936 committed Jun 1, 2024
1 parent 0bac6c5 commit 138fc9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/public/auth/login/index.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
require_once __DIR__ . "/../../../functions/database.php";
require_once __DIR__ . "/../../../functions/database.php"
$db = db();
if ($db->querySingle("SELECT COUNT(*) FROM auth") === 0) {
session_destroy();
Expand Down

0 comments on commit 138fc9b

Please sign in to comment.