mod_server_status/mod_server_status.lua
changeset 656 74bd7ebe5792
parent 649 dfd7f1ed7782
child 657 26e61a9afb5c
--- a/mod_server_status/mod_server_status.lua	Sun Apr 29 20:16:43 2012 +0000
+++ b/mod_server_status/mod_server_status.lua	Sun Apr 29 20:18:45 2012 +0000
@@ -4,7 +4,7 @@
 module:depends("http")
 module:set_global()
 
-local base_path = module:get_option_array("server_status_basepath", "/server-status/")
+local base_path = module:get_option_string("server_status_basepath", "/server-status/")
 local show_hosts = module:get_option_array("server_status_show_hosts", nil)
 local show_comps = module:get_option_array("server_status_show_comps", nil)
 local json_output = module:get_option_boolean("server_status_json", false)