Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv15513
Modified Files:
Tag: release-1_2-branch
config.php
Log Message:
Added a new constant, DBM_FILE_TYPE, defaulting to 'gdbm'. It's
defined in config.php and used in dbalib.php. INSTALL now notes the
setting of this constant, and how a blank page can occur the first
time the user tries to view PhpWiki.
Index: config.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/config.php,v
retrieving revision 1.24.2.3
retrieving revision 1.24.2.4
diff -C2 -r1.24.2.3 -r1.24.2.4
*** config.php 2001/11/02 05:11:16 1.24.2.3
--- config.php 2001/11/07 03:23:20 1.24.2.4
***************
*** 58,61 ****
--- 58,68 ----
$WikiDB['hottopics'] = "$DBMdir/wikihottopicsdb";
$WikiDB['hitcount'] = "$DBMdir/wikihitcountdb";
+
+ // this is the type of DBM file on your system. For most Linuxen
+ // 'gdbm' is fine; 'db2' is another common type. 'ndbm' appears
+ // on Solaris but won't work because it won't store pages larger
+ // than 1000 bytes.
+ define("DBM_FILE_TYPE", 'gdbm');
+
// try this many times if the dbm is unavailable
define("MAX_DBM_ATTEMPTS", 20);
|