Moving call to _getConnectionObjects() inside class_exists check. Removes errors when creating a connection with no DATABASE_CONFIG class.

This commit is contained in:
Mark Story 2010-03-05 21:37:28 -05:00
parent 7b83c45168
commit ba06b5b456

View file

@ -61,8 +61,8 @@ class ConnectionManager extends Object {
function __construct() {
if (class_exists('DATABASE_CONFIG')) {
$this->config =& new DATABASE_CONFIG();
$this->_getConnectionObjects();
}
$this->_getConnectionObjects();
}
/**