* luci/modules/admin-full: allow multiple httpd sections (instances)
This commit is contained in:
parent
d7f7a5b0d7
commit
70de30251b
1 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@ m = Map("httpd", "Busybox HTTPd", translate("a_srv_http1"))
|
||||||
|
|
||||||
s = m:section(TypedSection, "httpd", "")
|
s = m:section(TypedSection, "httpd", "")
|
||||||
s.anonymous = true
|
s.anonymous = true
|
||||||
|
s.addremove = true
|
||||||
|
|
||||||
port = s:option(Value, "port", translate("port"))
|
port = s:option(Value, "port", translate("port"))
|
||||||
port.isinteger = true
|
port.isinteger = true
|
||||||
|
@ -27,4 +28,4 @@ config.rmempty = true
|
||||||
realm = s:option(Value, "realm", translate("a_srv_http_authrealm"), translate("a_srv_http_authrealm1"))
|
realm = s:option(Value, "realm", translate("a_srv_http_authrealm"), translate("a_srv_http_authrealm1"))
|
||||||
realm.rmempty = true
|
realm.rmempty = true
|
||||||
|
|
||||||
return m
|
return m
|
||||||
|
|
Loading…
Reference in a new issue