From 70ded13045e6b882859eeb0acb928eb8cacefd28 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 2 Jan 2009 21:33:10 +0000 Subject: Use luci.fs.access instead of luci.fs.isfile where applicable --- modules/freifunk/luasrc/controller/freifunk/freifunk.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/freifunk/luasrc') diff --git a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua index 533211b00..ff739fd5f 100644 --- a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua +++ b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua @@ -52,7 +52,7 @@ function index() assign({"freifunk", "olsr"}, {"admin", "status", "olsr"}, "OLSR", 30) - if luci.fs.isfile("/etc/config/luci_statistics") then + if luci.fs.access("/etc/config/luci_statistics") then assign({"freifunk", "graph"}, {"admin", "statistics", "graph"}, i18n("stat_statistics", "Statistiken"), 40) end -- cgit v1.2.3