blob: 5eedb2dbc71866ca5323f97bac698031b5b6e9b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.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();
}
}
|