Skip to content

Commit df35f29

Browse files
authored
Update Database.php
1 parent bf5ff5d commit df35f29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Database.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ function __construct($config = null)
4646
{
4747
if (is_array($config)) {
4848
$this->config = $config;
49-
} elseif (method_exists('Config\Database\Main', 'get')) {
50-
$this->config = \Config\Database\Main::get($config);
49+
} elseif (method_exists('Config\Devbr\Database', 'get')) {
50+
$this->config = \Config\Devbr\Database::get($config);
5151
} else {
5252
trigger_error('DataBase configurations not found!');
5353
}

0 commit comments

Comments
 (0)