follow up r61319
authorMark A. Hershberger <mah@users.mediawiki.org>
Fri, 29 Jan 2010 08:13:23 +0000 (08:13 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Fri, 29 Jan 2010 08:13:23 +0000 (08:13 +0000)
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

index 6ab7680..dfcb794 100644 (file)
@@ -644,7 +644,7 @@ print "<li style='font-weight:bold;color:green;font-size:110%'>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 ) ) {
        ?></div>
        <div class="config-desc">
                <p>SQLite stores table data into files in the
-               filesystem.  By default the path is the "data"
-               directory in your document root.</p>
+               filesystem.</p>
 
                <p>This directory must exist and be writable by the web server.</p>
        </div>