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
This commit is contained in:
SubleXBle
2025-08-05 13:01:21 +02:00
committed by GitHub
parent 8133555101
commit 92dbd2343c

View File

@@ -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