From: Brion Vibber Date: Fri, 2 Feb 2007 18:25:01 +0000 (+0000) Subject: * Fix for paths in 1.4->1.5 special-case updater script X-Git-Tag: 1.31.0-rc.0~54151 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=3c46cf3c1b3f2ada960eace5e88be2e5d8a6f476;p=lhc%2Fweb%2Fwiklou.git * Fix for paths in 1.4->1.5 special-case updater script --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 878f91c238..5612ad20bd 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -166,6 +166,7 @@ lighter making things easier to read. * (bug 4268) Fixed data-loss bug in compressOld batch text compression affecting pages which had null edits (move, protect, etc) as second edit in a batch group. Isolated and patched by Travis Derouin. +* Fix for paths in 1.4->1.5 special-case updater script == Languages updated == diff --git a/maintenance/FiveUpgrade.inc b/maintenance/FiveUpgrade.inc index 4e69603700..c32f1b2e4b 100644 --- a/maintenance/FiveUpgrade.inc +++ b/maintenance/FiveUpgrade.inc @@ -501,8 +501,9 @@ class FiveUpgrade { if( $this->dbw->fieldExists( 'interwiki', 'iw_trans' ) ) { $this->log( 'interwiki has iw_trans.' ); } else { + global $IP; $this->log( 'adding iw_trans...' ); - dbsource( 'maintenance/archives/patch-interwiki-trans.sql', $this->dbw ); + dbsource( $IP . '/maintenance/archives/patch-interwiki-trans.sql', $this->dbw ); $this->log( 'added iw_trans.' ); }