Index: branches/REL1_18/extensions/LiquidThreads/classes/Hooks.php |
— | — | @@ -309,7 +309,7 @@ |
310 | 310 | } |
311 | 311 | |
312 | 312 | public static function onLoadExtensionSchemaUpdates( $updater = null ) { |
313 | | - $dir = dirname( __FILE__ ); |
| 313 | + $dir = realpath( dirname( __FILE__ ) . '/..' ); |
314 | 314 | |
315 | 315 | if ( $updater === null ) { |
316 | 316 | // DB updates |
Property changes on: branches/REL1_18/extensions/LiquidThreads |
___________________________________________________________________ |
Modified: svn:mergeinfo |
317 | 317 | Merged /trunk/extensions/LiquidThreads:r114138 |
Index: branches/REL1_19/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 ) ); |
Property changes on: branches/REL1_19/extensions/LiquidThreads |
___________________________________________________________________ |
Modified: svn:mergeinfo |
346 | 346 | Merged /trunk/extensions/LiquidThreads:r114138 |