<?php
// --- 1. ENABLE ERROR REPORTING (Helpful for debugging) ---
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

// --- 2. INCLUDE THE CONTROLLER ---
// FIX: We removed the "../" because the 'app' folder is right here in public_html
require_once __DIR__ . '/app/controllers/AuthController.php';

// --- 3. RUN THE LOGIN LOGIC ---
$auth = new AuthController();
$auth->login();
?>