luci-app-splash: switch to nixio.fs

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
Jo-Philipp Wich 2015-01-15 15:05:06 +01:00
parent bca0643eda
commit 924202156e
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
-%>
<%
local fs = require "luci.fs"
local fs = require "nixio.fs"
local has_custom_splash = fs.access("/usr/lib/luci-splash/splashtext.html")
local has_custom_splashinclude = fs.access("/usr/lib/luci-splash/splashtextinclude.html")

View file

@ -10,7 +10,7 @@ require("luci.sys.iptparser")
local uci = luci.model.uci.cursor_state()
local ipt = luci.sys.iptparser.IptParser()
local net = sys.net
local fs = require "luci.fs"
local fs = require "nixio.fs"
local ip = require "luci.ip"
local debug = false