# HG changeset patch # User Matthew Wild # Date 1335418922 -3600 # Node ID 684ea42ca77a7646e75d32c2be7fae63d460bd58 # Parent 5a85e541de1a8171e7c63510c76b38b1afe81056 mod_http_files: Change option name from http_path to http_files_dir diff -r 5a85e541de1a -r 684ea42ca77a plugins/mod_http_files.lua --- 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 = {