From: Steve W. <wai...@us...> - 2003-01-04 03:37:01
|
Update of /cvsroot/phpwiki/phpwiki In directory sc8-pr-cvs1:/tmp/cvs-serv13447 Modified Files: index.php Log Message: Added 'file' as a database type alongside 'dbm'; added cvs log tag Index: index.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/index.php,v retrieving revision 1.99 retrieving revision 1.100 diff -u -2 -b -p -d -r1.99 -r1.100 --- index.php 31 Dec 2002 01:13:14 -0000 1.99 +++ index.php 4 Jan 2003 03:36:58 -0000 1.100 @@ -9,5 +9,5 @@ Copyright 1999, 2000, 2001, 2002 $ThePhp "Grant Morgan", "Jan Nieuwenhuizen", "Aredridel Niothke", "Pablo Roca Rozas", "Sandino Araico Sánchez", "Joel Uckelman", -"Reini Urban", "Tim Voght"); +"Reini Urban", "Tim Voght", "Jochen Kalmbach"); This file is part of PhpWiki. @@ -167,7 +167,9 @@ $DBParams = array( // Choose ADODB or SQL to use an SQL database with ADODB or PEAR. // Choose dba to use one of the standard UNIX dbm libraries. + // Choose file to use a flat file database. //'dbtype' => 'ADODB', //'dbtype' => 'SQL', 'dbtype' => 'dba', + //'dbtype' => 'file', // For SQL based backends, specify the database as a DSN @@ -199,6 +201,10 @@ $DBParams = array( //'prefix' => 'phpwiki_', - // Used only by 'dba' + // Used by either 'dba' or 'file' and must be writable by the web + // server If you leave this as '/tmp' you will probably lose all + // your files eventually 'directory' => "/tmp", + + // choose the type of DB database file to use; most GNU systems have gdbm 'dba_handler' => 'gdbm', // Either of 'gdbm' or 'db2' work great for me. //'dba_handler' => 'db2', @@ -672,3 +678,9 @@ if (defined('VIRTUAL_PATH') and defined( // indent-tabs-mode: nil // End: + +// $Log$ +// Revision 1.100 2003/01/04 03:36:58 wainstead +// Added 'file' as a database type alongside 'dbm'; added cvs log tag +// + ?> |