diff options
Diffstat (limited to 'core/Updates/3.0.1-b1.php')
-rw-r--r-- | core/Updates/3.0.1-b1.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/core/Updates/3.0.1-b1.php b/core/Updates/3.0.1-b1.php new file mode 100644 index 0000000000..6222e27b2c --- /dev/null +++ b/core/Updates/3.0.1-b1.php @@ -0,0 +1,24 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + * + */ + +namespace Piwik\Updates; + +use Piwik\Plugins\Installation\ServerFilesGenerator; +use Piwik\Updater; +use Piwik\Updates as PiwikUpdates; + +class Updates_3_0_1_b1 extends PiwikUpdates +{ + public function doUpdate(Updater $updater) + { + // Allow IIS to serve .woff files (https://github.com/piwik/piwik/pull/11091). + // Re-generate .htaccess without 'Options -Indexes' because it does not always work on some servers + ServerFilesGenerator::createFilesForSecurity(); + } +} |