Menu

Dadabase selection error in lib/config.php

2001-01-21
2012-10-11
  • Lowell Brunson

    Lowell Brunson - 2001-01-21

    In config.php CVS file version 1.21 is a line which says:

       if ($WhichDatabase == 'dbm' or 'dba' or 'default') {

    This ended up always selecting the dbm/dba section instead of mysql which was what I had selected earlier.  When changed to

       if ($WhichDatabase == 'dbm' or $WhichDatabase =='dba' or $WhichDatabase =='default') {

    things started working more as I expected them to.

    I am running php4.03

     
    • Arno Hollosi

      Arno Hollosi - 2001-01-21

      Thanks for pointing this out.
      I have checked in a corrected version just now.

      /Arno

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.