Software /
code /
prosody
Diff
plugins/mod_http_files.lua @ 4703:684ea42ca77a
mod_http_files: Change option name from http_path to http_files_dir
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 26 Apr 2012 06:42:02 +0100 |
parent | 4701:3ce9e1ca9c15 |
child | 4716:6eeb142a8073 |
line wrap: on
line diff
--- a/plugins/mod_http_files.lua Thu Apr 26 06:41:11 2012 +0100 +++ b/plugins/mod_http_files.lua Thu Apr 26 06:42:02 2012 +0100 @@ -12,7 +12,7 @@ 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 = {