added back USERS_DIR

This commit is contained in:
Ryan
2025-03-03 12:53:52 -05:00
committed by GitHub
parent d8dcdd28e6
commit 79b40c03ca
7 changed files with 7 additions and 6 deletions

View File

@@ -3,7 +3,7 @@ require 'config.php';
session_start();
header('Content-Type: application/json');
$usersFile = UPLOAD_DIR . USERS_FILE;
$usersFile = USERS_DIR . USERS_FILE;
// Function to authenticate user
function authenticate($username, $password) {