From: Steve W. <wai...@us...> - 2001-11-07 03:23:27
|
Update of /cvsroot/phpwiki/phpwiki/lib In directory usw-pr-cvs1:/tmp/cvs-serv15555 Modified Files: Tag: release-1_2-branch dbalib.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: dbalib.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/Attic/dbalib.php,v retrieving revision 1.2.2.2 retrieving revision 1.2.2.3 diff -C2 -r1.2.2.2 -r1.2.2.3 *** dbalib.php 2001/11/06 20:43:11 1.2.2.2 --- dbalib.php 2001/11/07 03:23:24 1.2.2.3 *************** *** 40,44 **** reset($WikiDB); while (list($key, $file) = each($WikiDB)) { ! while (($dbi[$key] = @dba_open($file, "c", "gdbm")) < 1) { $numattempts++; if ($numattempts > MAX_DBM_ATTEMPTS) { --- 40,44 ---- reset($WikiDB); while (list($key, $file) = each($WikiDB)) { ! while (($dbi[$key] = @dba_open($file, "c", DBM_FILE_TYPE)) < 1) { $numattempts++; if ($numattempts > MAX_DBM_ATTEMPTS) { |