Welcome to mirror list, hosted at ThFree Co, Russian Federation.

3.0.1-b1.php « Updates « core - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6222e27b2cca0dff580137c708bda57fe1547fa1 (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
/**
 * 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();
    }
}