summaryrefslogtreecommitdiff
path: root/extensions/ConfirmEdit/Asirra.php
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/ConfirmEdit/Asirra.php')
-rw-r--r--extensions/ConfirmEdit/Asirra.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/ConfirmEdit/Asirra.php b/extensions/ConfirmEdit/Asirra.php
index 21dd37a4..ff4cee9a 100644
--- a/extensions/ConfirmEdit/Asirra.php
+++ b/extensions/ConfirmEdit/Asirra.php
@@ -24,9 +24,8 @@ if ( !defined( 'MEDIAWIKI' ) ) {
exit;
}
-$dir = dirname( __FILE__ ) . '/';
+$dir = __DIR__ . '/';
require_once( "$dir/ConfirmEdit.php" );
-$dir = dirname( __FILE__ ) . '/';
$wgCaptchaClass = 'Asirra';
$wgExtensionMessagesFiles['Asirra'] = "$dir/Asirra.i18n.php";