More maintenance for ConfirmEdit extension.
[toast/cookiecaptcha.git] / ConfirmEdit.php
index b0e71c7b24e91d692ab87591978db756a1e25ca6..87a48e0abc9d449166f7e47dbb33fa0daf7cc606 100644 (file)
@@ -173,7 +173,7 @@ $wgCaptchaRegexes = array();
 /** Register special page */
 $wgSpecialPages['Captcha'] = 'CaptchaSpecialPage';
 
-$wgConfirmEditIP = dirname( __FILE__ );
+$wgConfirmEditIP = __DIR__;
 $wgExtensionMessagesFiles['ConfirmEdit'] = "$wgConfirmEditIP/ConfirmEdit.i18n.php";
 $wgExtensionMessagesFiles['ConfirmEditAlias'] = "$wgConfirmEditIP/ConfirmEdit.alias.php";