Skip to content

Commit 89859ad

Browse files
authored
Update User.php
1 parent df35f29 commit 89859ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

User.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ public function __construct($config = null)
6363
$this->_dbConfig[$i] = $d;
6464
}
6565
}
66-
} elseif (method_exists('Config\Database\Main', 'getUserConfig')) {
67-
$this->_dbConfig = \Config\Database\Main::getUserConfig();
66+
} elseif (method_exists('\Config\Devbr\Database', 'getUserConfig')) {
67+
$this->_dbConfig = \Config\Devbr\Database::getUserConfig();
6868
}
6969

7070
$this->_db = new Database;

0 commit comments

Comments
 (0)