2
0

transmission.lua 380 B

1234567891011121314
  1. -- Copyright 2012 Gabor Varga <vargagab@gmail.com>
  2. -- Licensed to the public under the Apache License 2.0.
  3. module("luci.controller.transmission", package.seeall)
  4. function index()
  5. if not nixio.fs.access("/etc/config/transmission") then
  6. return
  7. end
  8. local page = entry({"admin", "services", "transmission"}, cbi("transmission"), _("Transmission"))
  9. page.dependent = true
  10. end