mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-09-24 10:49:46 +00:00
Use __DIR__ directly
Change-Id: Ie9f94fc91d3e582d332c3a4f26917b7f3e033ffa
This commit is contained in:
parent
ebc4667a1b
commit
5ed7e42d1b
|
@ -28,8 +28,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
|
|||
exit;
|
||||
}
|
||||
|
||||
$dir = __DIR__;
|
||||
require_once $dir . '/ConfirmEdit.php';
|
||||
require_once __DIR__ . '/ConfirmEdit.php';
|
||||
$wgCaptchaClass = 'QuestyCaptcha';
|
||||
|
||||
global $wgCaptchaQuestions;
|
||||
|
@ -45,5 +44,5 @@ $wgCaptchaQuestions = array(
|
|||
*/
|
||||
|
||||
$wgMessagesDirs['QuestyCaptcha'] = __DIR__ . '/i18n/questy';
|
||||
$wgExtensionMessagesFiles['QuestyCaptcha'] = $dir . '/QuestyCaptcha.i18n.php';
|
||||
$wgAutoloadClasses['QuestyCaptcha'] = $dir . '/QuestyCaptcha.class.php';
|
||||
$wgExtensionMessagesFiles['QuestyCaptcha'] = __DIR__ . '/QuestyCaptcha.i18n.php';
|
||||
$wgAutoloadClasses['QuestyCaptcha'] = __DIR__ . '/QuestyCaptcha.class.php';
|
||||
|
|
Loading…
Reference in a new issue