<?php
/**
 * EnglishSpeak — Entry Point
 *
 * Redirects to student-home if logged in, otherwise to student-login.
 */

session_start();

if (!empty($_SESSION['student_id'])) {
    header('Location: student/student-home.php');
    exit;
}

header('Location: student/student-login.php');
exit;