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 /plugins/CoreUpdater/Updater.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 'plugins/CoreUpdater/Updater.php')
-rw-r--r--plugins/CoreUpdater/Updater.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/CoreUpdater/Updater.php b/plugins/CoreUpdater/Updater.php
index 951230a412..7baee1d46a 100644
--- a/plugins/CoreUpdater/Updater.php
+++ b/plugins/CoreUpdater/Updater.php
@@ -298,11 +298,6 @@ class Updater
$model->removeGoneFiles($extractedArchiveDirectory, PIWIK_DOCUMENT_ROOT);
}
- // Config files may be user (account) specific
- if (PIWIK_INCLUDE_PATH !== PIWIK_USER_PATH) {
- Filesystem::copyRecursive($extractedArchiveDirectory . '/config', PIWIK_USER_PATH . '/config');
- }
-
Filesystem::unlinkRecursive($extractedArchiveDirectory, true);
Filesystem::clearPhpCaches();