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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2015-09-02 08:30:14 +0300
committermattab <matthieu.aubry@gmail.com>2015-09-02 08:30:14 +0300
commitc4f79b8323966344eb10af9c788f973d79e71421 (patch)
tree169e8508bd97e9f456cd6c8b8326d5494779d773 /plugins/Installation/ServerFilesGenerator.php
parentc63bdfb10f1307e5e76e3de138afa03971feb458 (diff)
Whitelists TTF to be downloadable via apache webserver
fixes #8691
Diffstat (limited to 'plugins/Installation/ServerFilesGenerator.php')
-rw-r--r--plugins/Installation/ServerFilesGenerator.php2
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";