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

main
ben 1 year ago
parent 674dc0d54a
commit a760a47585

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

Loading…
Cancel
Save