Voeg IP-uitsluitingen toe aan configuratie: IP's niet meetellen in statistieken en overslaan bij beveiliging
This commit is contained in:
+3
-1
@@ -53,7 +53,8 @@ if (!file_exists($configJsonPath)) {
|
||||
'geoip_mmdb_path' => '',
|
||||
'geoip_api_url' => '',
|
||||
'geoip_api_key' => '',
|
||||
'retention_days' => 400
|
||||
'retention_days' => 400,
|
||||
'excluded_ips' => []
|
||||
]
|
||||
];
|
||||
@file_put_contents($configJsonPath, json_encode($defaultConfig, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE));
|
||||
@@ -87,6 +88,7 @@ if (file_exists($configJsonPath)) {
|
||||
'geoip_api_url' => '',
|
||||
'geoip_api_key' => '',
|
||||
'retention_days' => 400,
|
||||
'excluded_ips' => [],
|
||||
],
|
||||
];
|
||||
foreach ($sectionDefaults as $section => $defaults) {
|
||||
|
||||
Reference in New Issue
Block a user