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
commit0c686d4e7ae8fff6e71af4f5099c12720b352372 (patch)
treeabad817f2eba9f79223ed486c053494e02d96c5a /plugins/mod_http_files.lua
parent6c6566bacef8de2a8d98f2f9640c7a713f2371d2 (diff)
downloadprosody-0c686d4e7ae8fff6e71af4f5099c12720b352372.tar.gz
prosody-0c686d4e7ae8fff6e71af4f5099c12720b352372.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 = {