summaryrefslogtreecommitdiff
path: root/extensions/Renameuser/renameUserCleanup.php
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Renameuser/renameUserCleanup.php')
-rw-r--r--extensions/Renameuser/renameUserCleanup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Renameuser/renameUserCleanup.php b/extensions/Renameuser/renameUserCleanup.php
index 374cb891..25c4a1fd 100644
--- a/extensions/Renameuser/renameUserCleanup.php
+++ b/extensions/Renameuser/renameUserCleanup.php
@@ -25,7 +25,7 @@
$IP = getenv( 'MW_INSTALL_PATH' );
if ( $IP === false ) {
- $IP = dirname( __FILE__ ) . '/../..';
+ $IP = __DIR__ . '/../..';
}
require_once( "$IP/maintenance/Maintenance.php" );