Software /
code /
prosody
Changeset
7986:522099269b49
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 17 Mar 2017 23:14:03 +0100 |
parents | 7984:ae3c5abb3336 (current diff) 7985:6521a51bb718 (diff) |
children | 7989:5632aa85e0b6 |
files | |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_http_files.lua Fri Mar 17 13:08:31 2017 +0000 +++ b/plugins/mod_http_files.lua Fri Mar 17 23:14:03 2017 +0100 @@ -37,7 +37,7 @@ }; module:shared("/*/http_files/mime").types = mime_map; - local mime_types, err = open(module:get_option_path("mime_types_file", "/etc/mime.types", prosody.paths.config), "r"); + local mime_types, err = open(module:get_option_path("mime_types_file", "/etc/mime.types", "config"), "r"); if mime_types then local mime_data = mime_types:read("*a"); mime_types:close();