Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions.

This commit is contained in:
Siebrand Mazeland 2008-11-26 23:17:15 +00:00
parent 66e564d515
commit 10f78a6edd

View file

@ -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';