diff --git a/core/Updates/3.0.1.php b/core/Updates/3.0.1.php new file mode 100644 index 0000000000000000000000000000000000000000..8820be0526faa6d6d2d01d12721dd96ea5481cd8 --- /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(); + } +} diff --git a/core/Version.php b/core/Version.php index 964c773ecede6418774f699f247fb94b974fb1bf..95b6c552c40cfd1f1aa10a136bd8554f29dd25b1 100644 --- a/core/Version.php +++ b/core/Version.php @@ -20,7 +20,7 @@ final class Version * The current Piwik version. * @var string */ - const VERSION = '3.0.0'; + const VERSION = '3.0.1'; public function isStableVersion($version) {