mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-12 09:32:55 +00:00
Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions.
This commit is contained in:
parent
66e564d515
commit
10f78a6edd
|
@ -37,6 +37,6 @@ $wgCaptchaDirectoryLevels = 0; // To break into subdirectories
|
|||
global $wgCaptchaSecret;
|
||||
$wgCaptchaSecret = "CHANGE_THIS_SECRET!";
|
||||
|
||||
$wgExtensionMessagesFiles['FancyCaptcha'] = dirname(__FILE__).'/FancyCaptcha.i18n.php';
|
||||
$wgAutoloadClasses['FancyCaptcha'] = dirname( __FILE__ ) . '/FancyCaptcha.class.php';
|
||||
|
||||
$dir = dirname(__FILE__) . '/';
|
||||
$wgExtensionMessagesFiles['FancyCaptcha'] = $dir . 'FancyCaptcha.i18n.php';
|
||||
$wgAutoloadClasses['FancyCaptcha'] = $dir . 'FancyCaptcha.class.php';
|
||||
|
|
Loading…
Reference in a new issue