Software /
code /
prosody
Changeset
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 |
parents | 4702:5a85e541de1a |
children | 4704:d6c4e58333cf |
files | plugins/mod_http_files.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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 = {