config.php: update configuration documentation for ip_recentposts

This commit is contained in:
Zankaria 2024-10-14 23:11:47 +02:00
parent 585e5638fd
commit fa26f6e88f
2 changed files with 2 additions and 1 deletions

View file

@ -1496,7 +1496,7 @@
// Do DNS lookups on IP addresses to get their hostname for the moderator IP pages (?/IP/x.x.x.x).
$config['mod']['dns_lookup'] = true;
// How many recent posts, per board, to show in ?/IP/x.x.x.x.
// How many recent posts, per board, to show in each page of ?/IP/x.x.x.x.
$config['mod']['ip_recentposts'] = 5;
// Number of posts to display on the reports page.

View file

@ -65,6 +65,7 @@ $pages = array(
'/reports/(\d+)/dismiss(all)?' => 'secure report_dismiss', // dismiss a report
'/IP/([\w.:]+)' => 'secure_POST ip', // view ip address
'/IP/([\w.:]+)/cursor/([\w|-|_|.]+)' => 'secure_POST ip', // view ip address
'/IP/([\w.:]+)/remove_note/(\d+)' => 'secure ip_remove_note', // remove note from ip address
'/ban' => 'secure_POST ban', // new ban