aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http_files.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-26 06:42:02 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-26 06:42:02 +0100
commit9b7e2f6d4b643bf24fb2adac75d2129dfb68bcd0 (patch)
treeabad817f2eba9f79223ed486c053494e02d96c5a /plugins/mod_http_files.lua
parent4d44ce6743c9dfa8ac31ddc082cf5d0e8501ab23 (diff)
downloadprosody-9b7e2f6d4b643bf24fb2adac75d2129dfb68bcd0.tar.gz
prosody-9b7e2f6d4b643bf24fb2adac75d2129dfb68bcd0.zip
mod_http_files: Change option name from http_path to http_files_dir
Diffstat (limited to 'plugins/mod_http_files.lua')
-rw-r--r--plugins/mod_http_files.lua2
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 = {