Use luci.fs.access instead of luci.fs.isfile where applicable
[project/luci.git] / applications / luci-polipo / luasrc / controller / polipo.lua
index c3965ee2e06754904188e5a638691656fd8efe12..949f80a6219fc60ade7765b7a3a38f2f08b551db 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