From affe677035af8a01355fc9961ba035efb407d2a4 Mon Sep 17 00:00:00 2001 From: Christophe HENRY Date: Tue, 2 Mar 2021 22:05:30 +0000 Subject: [PATCH] Removes local path on 404 --- htmgem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htmgem.php b/htmgem.php index 106e3c1..583898d 100644 --- a/htmgem.php +++ b/htmgem.php @@ -13,7 +13,7 @@ $filePath = $GMI_DIR.$url; $fileContent = @file_get_contents($filePath); if (!$fileContent) { http_response_code(404); - die("404: $filePath $GMI_DIR $url"); + die("404: $url"); } $fileLines = preg_split("/\n/", $fileContent);