diff options
author | Kévin Subileau <github@kevinsubileau.fr> | 2016-03-28 00:14:31 +0300 |
---|---|---|
committer | Kévin Subileau <github@kevinsubileau.fr> | 2016-03-28 00:27:08 +0300 |
commit | ec9b9072f2db7d659b553836be7f558deb716aaa (patch) | |
tree | f3ec2a7ea6651ac78075e93ce7ea191d30076a8a /core | |
parent | af7ef0a0c14d7c11f3fb483c3b930a02be933a2c (diff) |
Updates .htaccess files to whitelist EOT files
refs #9967
Diffstat (limited to 'core')
-rw-r--r-- | core/Updates/2.16.1-b3.php | 25 | ||||
-rw-r--r-- | core/Version.php | 2 |
2 files changed, 26 insertions, 1 deletions
diff --git a/core/Updates/2.16.1-b3.php b/core/Updates/2.16.1-b3.php new file mode 100644 index 0000000000..cb46053660 --- /dev/null +++ b/core/Updates/2.16.1-b3.php @@ -0,0 +1,25 @@ +<?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\Updates; +use Piwik\Updater; + +/** + */ +class Updates_2_16_1_b3 extends Updates +{ + public function doUpdate(Updater $updater) + { + // added .eot whitelisted file for apache webserver + ServerFilesGenerator::deleteHtAccessFiles(); + ServerFilesGenerator::createHtAccessFiles(); + } +}
\ No newline at end of file diff --git a/core/Version.php b/core/Version.php index c85b9d829f..a07b0cca53 100644 --- a/core/Version.php +++ b/core/Version.php @@ -20,7 +20,7 @@ final class Version * The current Piwik version. * @var string */ - const VERSION = '2.16.1-b2'; + const VERSION = '2.16.1-b3'; public function isStableVersion($version) { |