Index: trunk/extensions/AjaxShowEditors/Load.php |
— | — | @@ -11,10 +11,11 @@ |
12 | 12 | 'descriptionmsg' => 'ajax-se-desc', |
13 | 13 | ); |
14 | 14 | |
15 | | -$wgExtensionMessagesFiles['AjaxShowEditors'] = dirname(__FILE__) . '/AjaxShowEditors.i18n.php'; |
| 15 | +$dir = dirname(__FILE__) . '/'; |
| 16 | +$wgExtensionMessagesFiles['AjaxShowEditors'] = $dir . 'AjaxShowEditors.i18n.php'; |
16 | 17 | |
17 | 18 | // Load the ajax responder and register it |
18 | | -require_once('extensions/AjaxShowEditors/Response.php'); |
| 19 | +require_once( $dir . 'Response.php'); |
19 | 20 | |
20 | 21 | // Load the hooks |
21 | | -require_once('extensions/AjaxShowEditors/Hooks.php'); |
| 22 | +require_once( $dir . 'Hooks.php'); |