r62751 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62750‎ | r62751 | r62752 >
Date:19:47, 20 February 2010
Author:maxsem
Status:ok
Tags:
Comment:
Rv part of r61319 that always sets $wgSQLiteDataDir to "$IP"
Modified paths:
  • /trunk/phase3/config/Installer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/config/Installer.php
@@ -1777,9 +1777,6 @@
17781778 $rights = ($conf->RightsUrl) ? "" : "# ";
17791779 $hashedUploads = $conf->safeMode ? '' : '# ';
17801780 $sqliteDataDir = escapePhpString( realpath($conf->SQLiteDataDir) );
1781 - if ( substr_compare( $conf->IP, $sqliteDataDir, 0 ) ) {
1782 - $sqliteDataDir = substr_replace( $sqliteDataDir, '$IP', 0, strlen($conf->IP) );
1783 - }
17841781
17851782 if ( $conf->ShellLocale ) {
17861783 $locale = '';

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r61319Fix up data directory sniffing for sqlite. Touch up description of...mah00:00, 21 January 2010

Status & tagging log