diff options
author | Kim Alvefur <zash@zash.se> | 2017-03-23 01:30:58 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-03-23 01:30:58 +0100 |
commit | 597d3174276ee35ac59a7eb2109469126d054310 (patch) | |
tree | 8907b93b95ab3e10a7e3fc7aaef48a769cd190b0 /plugins/mod_http_files.lua | |
parent | 6e9e2d5167ba8b5261b2038bb9360f06681e9483 (diff) | |
parent | 711e2c8713466ff5fa8d1ed29dcf04d6e2b6e0da (diff) | |
download | prosody-597d3174276ee35ac59a7eb2109469126d054310.tar.gz prosody-597d3174276ee35ac59a7eb2109469126d054310.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_http_files.lua')
-rw-r--r-- | plugins/mod_http_files.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_http_files.lua b/plugins/mod_http_files.lua index b9a84cd3..e477bafe 100644 --- a/plugins/mod_http_files.lua +++ b/plugins/mod_http_files.lua @@ -16,7 +16,7 @@ local stat = lfs.attributes; local build_path = require"socket.url".build_path; local path_sep = package.config:sub(1,1); -local base_path = module:get_option_string("http_files_dir", module:get_option_string("http_path")); +local base_path = module:get_option_path("http_files_dir", module:get_option_path("http_path")); local cache_size = module:get_option_number("http_files_cache_size", 128); local cache_max_file_size = module:get_option_number("http_files_cache_max_file_size", 4096); local dir_indices = module:get_option_array("http_index_files", { "index.html", "index.htm" }); |