As per r19835, but for a few extensions (prevent some unnecessary lstat

system calls, generated by include or require directives).
This commit is contained in:
Nick Jenkins 2007-02-09 05:55:23 +00:00
parent 627c004733
commit fa8ef0e38c
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@ for ( $i = 0; $i < count( $wgCiteErrors['user'] ); ++$i )
define( $wgCiteErrors['user'][$i], $i + 1 );
# Internationalisation file
require_once( 'Cite.i18n.php' );
require_once( dirname(__FILE__) . '/Cite.i18n.php' );
function wfCite() {
# Add messages

View file

@ -22,7 +22,7 @@ $wgExtensionCredits['specialpage'][] = array(
);
# Internationalisation file
require_once( 'SpecialCite.i18n.php' );
require_once( dirname(__FILE__) . '/SpecialCite.i18n.php' );
$wgHooks['SkinTemplateBuildNavUrlsNav_urlsAfterPermalink'][] = 'wfSpecialCiteNav';
$wgHooks['MonoBookTemplateToolboxEnd'][] = 'wfSpecialCiteToolbox';