<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
require_once __DIR__ . '/includes/config.php';
echo "<h2>✅ Config OK</h2>";
echo "BASE_URL: " . BASE_URL . "<br>";
$db = site_db();
if ($db) echo "<h2>✅ DB Connected</h2>";
else echo "<h2>❌ DB Failed</h2>";
phpinfo();