Index: trunk/extensions/SemanticInternalObjects/SemanticInternalObjects.php |
— | — | @@ -27,9 +27,8 @@ |
28 | 28 | $wgHooks['smwUpdatePropertySubjects'][] = 'SIOHandler::handleUpdatingOfInternalObjects'; |
29 | 29 | $wgHooks['smwRefreshDataJobs'][] = 'SIOHandler::handleRefreshingOfInternalObjects'; |
30 | 30 | |
31 | | -$siogIP = $IP . '/extensions/SemanticInternalObjects'; |
32 | | -$wgExtensionMessagesFiles['SemanticInternalObjects'] = $siogIP . '/SemanticInternalObjects.i18n.php'; |
33 | | -$wgAutoloadClasses['SIOHandler'] = $siogIP . '/SemanticInternalObjects_body.php'; |
| 31 | +$wgExtensionMessagesFiles['SemanticInternalObjects'] = dirname( __FILE__ ) . '/SemanticInternalObjects.i18n.php'; |
| 32 | +$wgAutoloadClasses['SIOHandler'] = dirname( __FILE__ ) . '/SemanticInternalObjects_body.php'; |
34 | 33 | |
35 | 34 | function siofRegisterParserFunctions( &$parser ) { |
36 | 35 | $parser->setFunctionHook( 'set_internal', array( 'SIOHandler', 'doSetInternal' ) ); |