From 2c69095a1edf7474073451285238659d0f62ce3f Mon Sep 17 00:00:00 2001 From: Appleman1234 Date: Sun, 25 Sep 2022 13:30:13 +1000 Subject: PHP8.1 fixes from Rector --- tools/recount-bumps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/recount-bumps.php') diff --git a/tools/recount-bumps.php b/tools/recount-bumps.php index 06e8ca9f..5d1053ab 100644 --- a/tools/recount-bumps.php +++ b/tools/recount-bumps.php @@ -2,7 +2,7 @@ // A script to recount bumps to recover from a last-page-bump attack // or to be run after the KusabaX Migration. -require dirname(__FILE__) . '/inc/cli.php'; +require __DIR__ . '/inc/cli.php'; if (!isset ($argv[1])) { die("Usage: tools/recount-bumps.php board_uri\n"); -- cgit v1.3