Update auth_functions.php
This commit is contained in:
1 parent
77af06218a
commit
9dc6564211
1 file changed
+2
-2
@@ -3,7 +3,7 @@ if (session_status() === PHP_SESSION_NONE) {
|
||||
session_start();
|
||||
}
|
||||
|
||||
require_once __DIR__ . '/../config/database.php';
|
||||
require_once __DIR__ . '../config/database.php';
|
||||
|
||||
/**
|
||||
* Check if a user is logged in
|
||||
@@ -257,4 +257,4 @@ function destroySession() {
|
||||
|
||||
// Destroy the session
|
||||
session_destroy();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user