Index: trunk/extensions/ExternalData/ExternalData.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | 'url' => 'http://www.mediawiki.org/wiki/Extension:External_Data', |
19 | 19 | 'descriptionmsg' => 'externaldata-desc', |
20 | 20 | ); |
21 | | -$edgIP = $IP . '/extensions/ExternalData'; |
| 21 | +$edgIP = dirname(__FILE__); |
22 | 22 | |
23 | 23 | $wgHooks['ParserFirstCallInit'][] = 'edgRegisterParser'; |
24 | 24 | $wgExtensionMessagesFiles['ExternalData'] = $edgIP . '/ExternalData.i18n.php'; |