Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Db.php')
-rw-r--r--core/Db.php6
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();