Changeset

1552:334b66f614a6

mod_httpserver: Update to use new new_from_config() too
author Matthew Wild <mwild1@gmail.com>
date Tue, 14 Jul 2009 21:04:22 +0100 (2009-07-14)
parents 1551:c6646e806d18
children 1553:5e7b1d4ee655 1554:06030af44fad
files plugins/mod_httpserver.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_httpserver.lua	Tue Jul 14 21:04:07 2009 +0100
+++ b/plugins/mod_httpserver.lua	Tue Jul 14 21:04:22 2009 +0100
@@ -28,4 +28,4 @@
 end
 
 local ports = config.get(module.host, "core", "http_ports") or { 5280 };
-httpserver.new_from_config(ports, handle_request);
+httpserver.new_from_config(ports, "files", handle_request);