diff options
| author | 2026-08-01 00:52:11 -0600 | |
|---|---|---|
| committer | 2026-08-01 00:52:11 -0600 | |
| commit | 81e696679dc0a53e6e98fe754787edf81071d0e7 (patch) | |
| tree | 086e46739df4342386f33b01d7368d4ae8d922d0 | |
| parent | add cidr matching (diff) | |
| download | hostfiles-81e696679dc0a53e6e98fe754787edf81071d0e7.tar.gz hostfiles-81e696679dc0a53e6e98fe754787edf81071d0e7.tar.bz2 hostfiles-81e696679dc0a53e6e98fe754787edf81071d0e7.zip | |
update .config.php.example
| -rw-r--r-- | .config.php.example | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.config.php.example b/.config.php.example index dd6d3fe..d016e75 100644 --- a/.config.php.example +++ b/.config.php.example @@ -1,7 +1,12 @@ <?php error_reporting(E_ALL); +define('HASH_ALGO', 'sha512/256'); define('UPLOAD_URL', 'https://g.hostfil.es/'); define('UPLOAD_DIR', '/var/www/files/'); define('NOTIFICATION_ADDRESS', '127.0.0.1'); define('NOTIFICATION_PORT', 1234); +define('KNOWN_CIDRS', [ + '127.0.0.0/8' => 'wat⁉️ ❗❗❗', + '::1' => 'wat⁉️ ❗❗❗', +]); |
