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