diff options
author | Kévin Subileau <github@kevinsubileau.fr> | 2016-12-26 20:44:10 +0300 |
---|---|---|
committer | Kévin Subileau <github@kevinsubileau.fr> | 2016-12-26 22:16:06 +0300 |
commit | 94c3ab8bc97f29c61c1b56dc5512660ff667cf8e (patch) | |
tree | 6578a166592a9d75051eb287c8e06f063d45d4e3 /core/Updates | |
parent | 36dc084606c71d924791ec53b38cb59d3f771813 (diff) |
Recreate web.config files on next upgrade to enable woff files
Diffstat (limited to 'core/Updates')
-rw-r--r-- | core/Updates/3.0.1.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/core/Updates/3.0.1.php b/core/Updates/3.0.1.php new file mode 100644 index 0000000000..8820be0526 --- /dev/null +++ b/core/Updates/3.0.1.php @@ -0,0 +1,23 @@ +<?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 extends PiwikUpdates +{ + public function doUpdate(Updater $updater) + { + // Allow IIS to serve .woff files (https://github.com/piwik/piwik/pull/11091). + ServerFilesGenerator::createFilesForSecurity(); + } +} |