diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-04-26 06:42:02 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-04-26 06:42:02 +0100 |
commit | 9b7e2f6d4b643bf24fb2adac75d2129dfb68bcd0 (patch) | |
tree | abad817f2eba9f79223ed486c053494e02d96c5a | |
parent | 4d44ce6743c9dfa8ac31ddc082cf5d0e8501ab23 (diff) | |
download | prosody-9b7e2f6d4b643bf24fb2adac75d2129dfb68bcd0.tar.gz prosody-9b7e2f6d4b643bf24fb2adac75d2129dfb68bcd0.zip |
mod_http_files: Change option name from http_path to http_files_dir
-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 9d5aa252..932d2547 100644 --- a/plugins/mod_http_files.lua +++ b/plugins/mod_http_files.lua @@ -12,7 +12,7 @@ local lfs = require "lfs"; local open = io.open; local stat = lfs.attributes; -local http_base = module:get_option_string("http_path", "www_files"); +local http_base = module:get_option_string("http_files_dir", module:get_option_string("http_path", "www_files")); -- TODO: Should we read this from /etc/mime.types if it exists? (startup time...?) local mime_map = { |