diff options
author | Matthieu Aubry <matt@piwik.org> | 2015-09-02 08:33:01 +0300 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2015-09-02 08:33:01 +0300 |
commit | 288b0b2d363b2acbf7f0d6c6748624531f19a65e (patch) | |
tree | 20d6335be4da0d70d496e2c2fb928d5823a4d54c /plugins/Installation | |
parent | 76adbdc804d8ab9e2c7e938bf28b7ba0ff4481b7 (diff) | |
parent | c4f79b8323966344eb10af9c788f973d79e71421 (diff) |
Merge pull request #8692 from piwik/8691
Whitelists TTF to be downloadable via apache webserver
Diffstat (limited to 'plugins/Installation')
-rw-r--r-- | plugins/Installation/ServerFilesGenerator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Installation/ServerFilesGenerator.php b/plugins/Installation/ServerFilesGenerator.php index 64ad8e83d8..fcd780523d 100644 --- a/plugins/Installation/ServerFilesGenerator.php +++ b/plugins/Installation/ServerFilesGenerator.php @@ -39,7 +39,7 @@ class ServerFilesGenerator "</IfModule>\n\n" . "# Allow to serve static files which are safe\n" . - "<Files ~ \"\\.(gif|ico|jpg|png|svg|js|css|htm|html|swf|mp3|mp4|wav|ogg|avi)$\">\n" . + "<Files ~ \"\\.(gif|ico|jpg|png|svg|js|css|htm|html|swf|mp3|mp4|wav|ogg|avi|ttf)$\">\n" . $allow . "\n" . "</Files>\n"; |