<?php
declare(strict_types=1);
/* Legacy endpoint intentionally retired. Official submissions are processed
   only by student/exams.php so timing, autosave, CSRF and attempt ownership
   are enforced in one canonical workflow. */
require_once __DIR__ . '/../includes/config.php';require_once __DIR__ . '/../includes/functions.php';
if(isPost()){http_response_code(409);flash('error','This old exam submission route has been retired. Reopen the exam from the official exam center.');}
redirect('student/exams.php');
