From d40c03b8bece08b9af2bc4f86cb028844fe07262 Mon Sep 17 00:00:00 2001 From: SubleXBle <51033045+SubleXBle@users.noreply.github.com> Date: Mon, 28 Jul 2025 12:16:44 +0200 Subject: [PATCH] Update block-ip.php --- includes/block-ip.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/block-ip.php b/includes/block-ip.php index 03263ed..a99a7ba 100644 --- a/includes/block-ip.php +++ b/includes/block-ip.php @@ -18,7 +18,7 @@ function blockIp($ip, $jail = 'unknown', $source = 'manual') { ]; } - $jsonFile = __DIR__ . 'archive/blocklist.json'; + $jsonFile = dirname(__DIR__, 1) . '/archive/blocklist.json'; $data = []; // Read existing blocklist