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:
authorThomas Steur <tsteur@users.noreply.github.com>2019-09-17 23:35:22 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2019-09-17 23:35:22 +0300
commit42b4ab13bc36511fabbf376e098e07ffae0d674a (patch)
tree1deef1ec16dca25b3a41cd200d5a481f7803e157 /core/Config.php
parent583d8d1c28cf0b96810a81dfb7c76a3c1140d764 (diff)
Fix user path was not working as it should (allow placing config file outside webroot) (#14866)
* Fix user path was not working as it should * fix error
Diffstat (limited to 'core/Config.php')
-rw-r--r--core/Config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Config.php b/core/Config.php
index 916b43b6dd..5d4467a9fa 100644
--- a/core/Config.php
+++ b/core/Config.php
@@ -108,7 +108,7 @@ class Config
*/
public static function getGlobalConfigPath()
{
- return PIWIK_USER_PATH . self::DEFAULT_GLOBAL_CONFIG_PATH;
+ return PIWIK_DOCUMENT_ROOT . self::DEFAULT_GLOBAL_CONFIG_PATH;
}
/**