From e88bf4e8b760b98f3cb3e92d9794019000c25bd2 Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Fri, 29 Jan 2010 08:13:23 +0000 Subject: [PATCH] follow up r61319 took out the ".." but otherwise left it the same. On my system, this installs an SQLite file in $IP/config/data by default using the web installer. Setting it to "$IP/../data" presents the user with the /full/path/to/the/MW/../data which seemed more confusing to me. --- config/Installer.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/Installer.php b/config/Installer.php index 6ab7680130..dfcb794923 100644 --- a/config/Installer.php +++ b/config/Installer.php @@ -644,7 +644,7 @@ print "
  • Environment check $conf->DBpgschema = importPost( "DBpgschema", "mediawiki" ); ## SQLite specific - $conf->SQLiteDataDir = importPost( "SQLiteDataDir", '../data' ); + $conf->SQLiteDataDir = importPost( "SQLiteDataDir", "$IP/../data" ); ## MSSQL specific // We need a second field so it doesn't overwrite the MySQL one @@ -1665,8 +1665,7 @@ if( count( $errs ) ) { ?>

    SQLite stores table data into files in the - filesystem. By default the path is the "data" - directory in your document root.

    + filesystem.

    This directory must exist and be writable by the web server.

    -- 2.20.1