diff options
Diffstat (limited to 'core/Db.php')
-rw-r--r-- | core/Db.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/Db.php b/core/Db.php index a4b114d634..b906790397 100644 --- a/core/Db.php +++ b/core/Db.php @@ -57,6 +57,12 @@ class Db return self::$connection; } + /** + * Returns an array with the Database connection information. + * + * @param array|null $dbConfig + * @return array + */ public static function getDatabaseConfig($dbConfig = null) { $config = Config::getInstance(); |