From 92dbd2343c2d09b9b823b07260dfc5cbfc923005 Mon Sep 17 00:00:00 2001 From: SubleXBle <51033045+SubleXBle@users.noreply.github.com> Date: Tue, 5 Aug 2025 13:01:21 +0200 Subject: [PATCH] Update unblock-ip.php Hotfixed Path to blocklist.json from $jsonFile = 'archive/blocklist.json'; to $jsonFile = __DIR__ . '/../archive/blocklist.json'; this should ensure to find the blocklist better --- includes/unblock-ip.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/unblock-ip.php b/includes/unblock-ip.php index e1720cc..70adcdc 100644 --- a/includes/unblock-ip.php +++ b/includes/unblock-ip.php @@ -16,7 +16,7 @@ function unblockIp($ip) { ]; } - $jsonFile = 'archive/blocklist.json'; + $jsonFile = __DIR__ . '/../archive/blocklist.json'; // Fixed on 05.08.2025 : 13:00 MEZ $data = []; // Read existing blocklist