From fdd850e3af3da7250df2fcb815c4eee806a55aab Mon Sep 17 00:00:00 2001 From: Hamza-Ayed Date: Sun, 3 May 2026 18:21:19 +0300 Subject: [PATCH] Update: 2026-05-03 18:21:19 --- public/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/index.php b/public/index.php index 89f328e..70187d8 100644 --- a/public/index.php +++ b/public/index.php @@ -5,6 +5,9 @@ require_once __DIR__ . '/../app/bootstrap/init.php'; +// Global Request Logging (for debugging on server) +error_log("Incoming Request: " . ($_SERVER['REQUEST_METHOD'] ?? 'GET') . " " . ($_SERVER['REQUEST_URI'] ?? '/')); + $uri = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); $route = $_GET['route'] ?? str_replace('/api/', '', $uri); $route = trim($route, '/');