Use luci.fs.access instead of luci.fs.isfile where applicable
[project/luci.git] / applications / luci-tinyproxy / luasrc / controller / tinyproxy.lua
index 2ecfb9383e36e66b15ea20f6619a4e45908c3685..fb8d9e2b5d9a737e7d234a68bb61ff08f54ee94a 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