<?php
require_once '../config/db.php';
require_once '../config/auth.php';
require_once '../config/functions.php';
requireAdmin();

runMatchingAlgorithm($conn);
logActivity($conn, 'run_matching', 'match', null, 'Manually ran the matching algorithm');
header("Location: " . BASE_URL . "/admin/matches.php?msg=matching_done");
exit;
