Update 'luasrc/model/cbi/megamedia.lua'

main
ben 1 year ago
parent 74d65ae0fa
commit cdbc3cbb98

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

Loading…
Cancel
Save