ZhenYu 59b8a5cc63 luci-app-haproxy-tcp & luci-app-qbittorrent: return to right display at make menu (#1608)
* luci-app-haproxy-tcp: fixed wrong location in make menu

* luci-app-qbittorrent: solved wrong luci-i18n-qbittorrent at make menu
2019-09-12 14:37:25 +08:00

7 lines
259 B
Lua
Executable File

module("luci.controller.haproxy", package.seeall)
function index()
if not nixio.fs.access("/etc/config/haproxy") then
return
end
entry({"admin", "services", "haproxy"}, cbi("haproxy"), _("HAProxy")).dependent = true
end