r56383 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56382‎ | r56383 | r56384 >
Date:18:34, 15 September 2009
Author:werdna
Status:deferred
Tags:
Comment:
Fix bug in update.php handling
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/Hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/Hooks.php
@@ -308,7 +308,7 @@
309309 global $wgExtNewTables, $wgExtNewFields, $wgExtPGNewFields,
310310 $wgExtPGAlteredFields, $wgExtNewIndexes, $wgDBtype;
311311
312 - $dir = dirname( dirname( __FILE__ ) );
 312+ $dir = realpath( dirname( __FILE__ ) . '/..' );
313313
314314 // DB updates
315315 $wgExtNewTables[] = array( 'thread', "$dir/lqt.sql" );

Status & tagging log