plugins/mod_http_files.lua
changeset 4703 684ea42ca77a
parent 4701 3ce9e1ca9c15
child 4716 6eeb142a8073
--- 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 = {