Update my email addresses in the license headers
[project/luci.git] / applications / luci-app-tinyproxy / luasrc / controller / tinyproxy.lua
1 -- Copyright 2008 Steven Barth <steven@midlink.org>
2 -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
3 -- Licensed to the public under the Apache License 2.0.
4
5 module("luci.controller.tinyproxy", package.seeall)
6
7 function index()
8         if not nixio.fs.access("/etc/config/tinyproxy") then
9                 return
10         end
11
12         entry({"admin", "services", "tinyproxy"}, alias("admin", "services", "tinyproxy", "config"), _("Tinyproxy"))
13         entry({"admin", "services", "tinyproxy", "status"}, template("tinyproxy_status"), _("Status"))
14         entry({"admin", "services", "tinyproxy", "config"}, cbi("tinyproxy"), _("Configuration"))
15 end