Index: trunk/extensions/LiquidThreads/classes/Hooks.php |
— | — | @@ -338,7 +338,7 @@ |
339 | 339 | * @return bool |
340 | 340 | */ |
341 | 341 | public static function onLoadExtensionSchemaUpdates( $updater = null ) { |
342 | | - $dir = dirname( __FILE__ ); |
| 342 | + $dir = realpath( dirname( __FILE__ ) . '/..' ); |
343 | 343 | |
344 | 344 | $updater->addExtensionUpdate( array( 'addTable', 'thread', "$dir/lqt.sql", true ) ); |
345 | 345 | $updater->addExtensionUpdate( array( 'addTable', 'thread_history', "$dir/schema-changes/thread_history_table.sql", true ) ); |