Use luci.fs.access instead of luci.fs.isfile where applicable
[project/luci.git] / applications / luci-tinyproxy / luasrc / controller / tinyproxy.lua
index 2ecfb93..fb8d9e2 100644 (file)
@@ -15,7 +15,7 @@ $Id$
 module("luci.controller.tinyproxy", package.seeall)
 
 function index()
-       if not luci.fs.isfile("/etc/config/tinyproxy") then
+       if not luci.fs.access("/etc/config/tinyproxy") then
                return
        end