From 7ed98bf01bdc7614c23b3f598f694e34b7700509 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 27 Jun 2009 15:59:59 +0000 Subject: [PATCH] luci-0.9: merge r4935 --- .../luasrc/controller/luci_statistics/luci_statistics.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua b/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua index 940d2265c..7ffdd091e 100644 --- a/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua +++ b/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua @@ -17,7 +17,7 @@ module("luci.controller.luci_statistics.luci_statistics", package.seeall) function index() - require("luci.fs") + require("nixio.fs") require("luci.util") require("luci.i18n") require("luci.statistics.datatree") @@ -32,7 +32,7 @@ function index() -- override entry(): check for existance .so where is derived from the called path function _entry( path, ... ) local file = path[5] or path[4] - if luci.fs.access( "/usr/lib/collectd/" .. file .. ".so" ) then + if nixio.fs.access( "/usr/lib/collectd/" .. file .. ".so" ) then entry( path, ... ) end end -- 2.25.1