mirror of
https://github.com/SubleXBle/Fail2Ban-Report.git
synced 2026-02-11 03:09:03 -06:00
Update block-ip.php
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user