Changeset 113


Ignore:
Timestamp:
Apr 28, 2006 7:03:49 PM (18 years ago)
Author:
scdev
Message:

allow mysql password to be blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1dev/config/boot.inc.php

    r80 r113  
    7171    }
    7272   
    73     if (empty($CFG->database) || empty($CFG->username) || empty($CFG->password)) {
     73    if (empty($CFG->database) || empty($CFG->username) || !isset($CFG->password)) { // Allow password to be empty string.
    7474        logMsg('Database credentials missing.', LOG_WARNING, __FILE__, __LINE__);
    7575    }
Note: See TracChangeset for help on using the changeset viewer.