ushare.lua 356 B

123456789101112131415
  1. -- Copyright 2008 Yanira <forum-2008@email.de>
  2. -- Licensed to the public under the Apache License 2.0.
  3. module("luci.controller.ushare", package.seeall)
  4. function index()
  5. if not nixio.fs.access("/etc/config/ushare") then
  6. return
  7. end
  8. local page
  9. page = entry({"admin", "services", "ushare"}, cbi("ushare"), _("uShare"), 60)
  10. page.dependent = true
  11. end