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:
authordiosmosis <diosmosis@users.noreply.github.com>2019-02-11 02:12:20 +0300
committerGitHub <noreply@github.com>2019-02-11 02:12:20 +0300
commitc67317737aa08f1b5b3d626b4a3aeb8b626dbfde (patch)
treec9abdaabb86f7dd176675a7c0204335f4ec9af1f /core/Config.php
parentf768274396fba6aaaa7862a16787b702d01cb40a (diff)
Include non-sql migrations in update dry run output. (#14003)
* Include non-sql migrations in update dry run output. * More translation updates. * Make check for by domain Matomo more robust. * Show migrations in separate boxes based on whether they are SQL or console commands. * Update two screenshots and fix test.
Diffstat (limited to 'core/Config.php')
-rw-r--r--core/Config.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/core/Config.php b/core/Config.php
index 7d3d79a5ee..4f2d6f33cd 100644
--- a/core/Config.php
+++ b/core/Config.php
@@ -120,6 +120,16 @@ class Config
}
/**
+ * Returns default absolute path to the local configuration file.
+ *
+ * @return string
+ */
+ public static function getDefaultLocalConfigPath()
+ {
+ return PIWIK_USER_PATH . self::DEFAULT_LOCAL_CONFIG_PATH;
+ }
+
+ /**
* Returns absolute path to the local configuration file
*
* @return string
@@ -130,7 +140,7 @@ class Config
if ($path) {
return $path;
}
- return PIWIK_USER_PATH . self::DEFAULT_LOCAL_CONFIG_PATH;
+ return self::getDefaultLocalConfigPath();
}
private static function getLocalConfigInfoForHostname($hostname)