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>2018-10-30 23:42:51 +0300
committerStefan Giehl <stefan@piwik.org>2018-10-30 23:42:51 +0300
commit40bd01ac8bd523aad1904cf8c1590192734cd9c1 (patch)
tree2ae5fa0bffe51e6e420674010092c3dbd4a1b5e2 /core/Updater.php
parent06bf824590aa18d0425dba83b9e49d7c2394d1af (diff)
Regenerate htaccess files after update (#13591)
* Regenerate htaccess files after update just in case someone deleted them manually or by accident * acquire lock in case multiple updaters are running at the same time in one filesystem
Diffstat (limited to 'core/Updater.php')
-rw-r--r--core/Updater.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Updater.php b/core/Updater.php
index 52d26eef90..dded2d245c 100644
--- a/core/Updater.php
+++ b/core/Updater.php
@@ -15,6 +15,7 @@ use Piwik\Updater\Migration\Db\Sql;
use Piwik\Exception\MissingFilePermissionException;
use Piwik\Updater\UpdateObserver;
use Zend_Db_Exception;
+use Piwik\Plugins\Installation\ServerFilesGenerator;
/**
* Load and execute all relevant, incremental update scripts for Piwik core and plugins, and bump the component version numbers for completed updates.
@@ -482,6 +483,7 @@ class Updater
}
Filesystem::deleteAllCacheOnUpdate();
+ ServerFilesGenerator::createHtAccessFiles();
$result = array(
'warnings' => $warnings,