r32015 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32014‎ | r32015 | r32016 >
Date:13:44, 15 March 2008
Author:nikerabbit
Status:old
Tags:
Comment:
* Use full path
Modified paths:
  • /trunk/extensions/AjaxShowEditors/Load.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AjaxShowEditors/Load.php
@@ -11,10 +11,11 @@
1212 'descriptionmsg' => 'ajax-se-desc',
1313 );
1414
15 -$wgExtensionMessagesFiles['AjaxShowEditors'] = dirname(__FILE__) . '/AjaxShowEditors.i18n.php';
 15+$dir = dirname(__FILE__) . '/';
 16+$wgExtensionMessagesFiles['AjaxShowEditors'] = $dir . 'AjaxShowEditors.i18n.php';
1617
1718 // Load the ajax responder and register it
18 -require_once('extensions/AjaxShowEditors/Response.php');
 19+require_once( $dir . 'Response.php');
1920
2021 // Load the hooks
21 -require_once('extensions/AjaxShowEditors/Hooks.php');
 22+require_once( $dir . 'Hooks.php');

Status & tagging log