Globally reduce copyright headers
[project/luci.git] / applications / luci-app-polipo / luasrc / controller / polipo.lua
1 -- Copyright 2008 Aleksandar Krsteski <alekrsteski@gmail.com>
2 -- Licensed to the public under the Apache License 2.0.
3
4 module("luci.controller.polipo", package.seeall)
5
6 function index()
7         if not nixio.fs.access("/etc/config/polipo") then
8                 return
9         end
10
11         entry({"admin", "services", "polipo"}, alias("admin", "services", "polipo", "config"), _("Polipo"))
12         entry({"admin", "services", "polipo", "status"}, template("polipo_status"), _("Status"))
13         entry({"admin", "services", "polipo", "config"}, cbi("polipo"), _("Configuration"))
14 end
15