diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-15 14:55:46 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-15 14:55:46 +0100 |
commit | 2af6fac809e73e57097572fa6a759156fa0d24eb (patch) | |
tree | d711e1dbf312bbb7090597f544f0f9a3ac4e6e56 /applications/luci-app-olsr | |
parent | 76eb057b2c06af6d2f0c9278877131f3c3e1f250 (diff) |
luci-app-olsr: switch to nixio.fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'applications/luci-app-olsr')
-rw-r--r-- | applications/luci-app-olsr/luasrc/view/status-olsr/overview.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-olsr/luasrc/view/status-olsr/overview.htm b/applications/luci-app-olsr/luasrc/view/status-olsr/overview.htm index 6d8eca874..727b476d0 100644 --- a/applications/luci-app-olsr/luasrc/view/status-olsr/overview.htm +++ b/applications/luci-app-olsr/luasrc/view/status-olsr/overview.htm @@ -15,7 +15,7 @@ You may obtain a copy of the License at local ipv = luci.model.uci.cursor():get_first("olsrd", "olsrd", "IpVersion", "4") function write_conf(conf, file) - local fs = require "luci.fs" + local fs = require "nixio.fs" if fs.access(conf) then luci.http.header("Content-Disposition", "attachment; filename="..file) luci.http.prepare_content("text/plain") |