projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use luci.fs.access instead of luci.fs.isfile where applicable
[project/luci.git]
/
applications
/
luci-tinyproxy
/
luasrc
/
controller
/
tinyproxy.lua
diff --git
a/applications/luci-tinyproxy/luasrc/controller/tinyproxy.lua
b/applications/luci-tinyproxy/luasrc/controller/tinyproxy.lua
index
2ecfb93
..
fb8d9e2
100644
(file)
--- a/
applications/luci-tinyproxy/luasrc/controller/tinyproxy.lua
+++ b/
applications/luci-tinyproxy/luasrc/controller/tinyproxy.lua
@@
-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