Index: trunk/extensions/SemanticResultFormats/SRF_Settings.php |
— | — | @@ -11,8 +11,8 @@ |
12 | 12 | |
13 | 13 | define( 'SRF_VERSION', '1.4.6' ); |
14 | 14 | |
15 | | -$srfgScriptPath = $wgScriptPath . '/extensions/SemanticResultFormats'; |
16 | | -$srfgIP = $IP . '/extensions/SemanticResultFormats'; |
| 15 | +$srfgScriptPath = $wgScriptPath . '/extensions/SemanticResultFormats'; // TODO: fix hardcoded path |
| 16 | +$srfgIP = dirname( __FILE__ ); |
17 | 17 | $wgExtensionMessagesFiles['SemanticResultFormats'] = $srfgIP . '/SRF_Messages.php'; |
18 | 18 | $wgExtensionFunctions[] = 'srffSetup'; |
19 | 19 | |