From 0a5e17ba16a485fe412eaf402ada47fb57ee1d77 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Sat, 20 Feb 2010 19:47:24 +0000 Subject: [PATCH] Rv part of r61319 that always sets $wgSQLiteDataDir to "$IP" --- config/Installer.php | 3 --- 1 file changed, 3 deletions(-) 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 = ''; -- 2.20.1