summaryrefslogtreecommitdiff
path: root/tools/recount-bumps.php
diff options
context:
space:
mode:
authorAppleman1234 <applemansigloo@gmail.com>2022-09-25 13:30:13 +1000
committerAppleman1234 <applemansigloo@gmail.com>2022-09-25 13:30:13 +1000
commit2c69095a1edf7474073451285238659d0f62ce3f (patch)
tree5dee476605402c66dc2853d0836b29f6aedae62b /tools/recount-bumps.php
parente9a61e2fbbd930eaa80d6a5f33420cedc59d748c (diff)
PHP8.1 fixes from Rector
Diffstat (limited to 'tools/recount-bumps.php')
-rw-r--r--tools/recount-bumps.php2
1 files changed, 1 insertions, 1 deletions
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");