2018-10-23 17:34:06 +08:00

18 lines
378 B
Lua

-- Copyright 2015 Daniel Dickinson <openwrt@daniel.thecshore.com>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.webadmin", package.seeall)
function index()
if not nixio.fs.access("/etc/config/uhttpd") then
return
end
local page
page = entry({"admin", "system", "webadmin"}, cbi("webadmin"), _("Web Admin"), 1)
page.leaf = true
end