module("luci.controller.seafile", package.seeall) function index() entry({"admin", "apps"}, firstchild(), _("Apps") , 45).dependent = false if not nixio.fs.access("/etc/config/seafile") then return end local page = entry({"admin", "apps", "seafile"}, cbi("seafile"), _("seafile")) page.order = 10 page.dependent = true page.acl_depends = { "luci-app-seafile" } entry({"admin","apps","seafile","status"},call("act_status")).leaf=true end