|
|
@ -35,8 +35,8 @@ local home = searxng_model.home()
|
|
|
|
o = s:option(Value, "config_path", translate("Config path").."<b>*</b>")
|
|
|
|
o = s:option(Value, "config_path", translate("Config path").."<b>*</b>")
|
|
|
|
o.rmempty = false
|
|
|
|
o.rmempty = false
|
|
|
|
o.datatype = "string"
|
|
|
|
o.datatype = "string"
|
|
|
|
o:value("/opt/docker2/compose/Config/searxng", "/opt/docker2/compose/Config/searxng")
|
|
|
|
o:value("/opt/docker2/compose/searxng", "/opt/docker2/compose/searxng")
|
|
|
|
o.default = "/opt/docker2/compose/Config/searxng"
|
|
|
|
o.default = "/opt/docker2/compose/searxng"
|
|
|
|
|
|
|
|
|
|
|
|
local paths, default_path = searxng_model.find_paths(blocks, home, "Configs")
|
|
|
|
local paths, default_path = searxng_model.find_paths(blocks, home, "Configs")
|
|
|
|
for _, val in pairs(paths) do
|
|
|
|
for _, val in pairs(paths) do
|
|
|
|