From: Max Semenik Date: Sat, 20 Feb 2010 19:47:24 +0000 (+0000) Subject: Rv part of r61319 that always sets $wgSQLiteDataDir to "$IP" X-Git-Tag: 1.31.0-rc.0~37684 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=0a5e17ba16a485fe412eaf402ada47fb57ee1d77;p=lhc%2Fweb%2Fwiklou.git Rv part of r61319 that always sets $wgSQLiteDataDir to "$IP" --- diff --git a/config/Installer.php b/config/Installer.php index 384a94ba9a..cca150f498 100644 --- a/config/Installer.php +++ b/config/Installer.php @@ -1777,9 +1777,6 @@ function writeLocalSettings( $conf ) { $rights = ($conf->RightsUrl) ? "" : "# "; $hashedUploads = $conf->safeMode ? '' : '# '; $sqliteDataDir = escapePhpString( realpath($conf->SQLiteDataDir) ); - if ( substr_compare( $conf->IP, $sqliteDataDir, 0 ) ) { - $sqliteDataDir = substr_replace( $sqliteDataDir, '$IP', 0, strlen($conf->IP) ); - } if ( $conf->ShellLocale ) { $locale = '';