Update of /cvsroot/phpwiki/phpwiki/lib In directory usw-pr-cvs1:/tmp/cvs-serv7681 Modified Files: config.php Log Message: default auth_dsn on same db Index: config.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/config.php,v retrieving revision 1.66 retrieving revision 1.67 diff -u -2 -b -p -d -r1.66 -r1.67 --- config.php 18 Sep 2002 18:34:13 -0000 1.66 +++ config.php 27 Sep 2002 13:40:34 -0000 1.67 @@ -399,4 +399,9 @@ if (defined('USE_DB_SESSION') and USE_DB } +if (ALLOW_USER_LOGIN and empty($DBAuthParams['auth_dsn']) and empty($DBAuthParams['auth_user_file'])) { + $DBAuthParams['auth_dsn'] = $DBParams['dsn']; +} + + // For emacs users // Local Variables: