|
|
@ -35,8 +35,8 @@ local home = libreddit_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/libreddit", "/opt/docker2/compose/Config/libreddit")
|
|
|
|
o:value("/opt/docker2/compose/libreddit", "/opt/docker2/compose/libreddit")
|
|
|
|
o.default = "/opt/docker2/compose/Config/libreddit"
|
|
|
|
o.default = "/opt/docker2/compose/libreddit"
|
|
|
|
|
|
|
|
|
|
|
|
local paths, default_path = libreddit_model.find_paths(blocks, home, "Configs")
|
|
|
|
local paths, default_path = libreddit_model.find_paths(blocks, home, "Configs")
|
|
|
|
for _, val in pairs(paths) do
|
|
|
|
for _, val in pairs(paths) do
|
|
|
|