luci-lua-runtime: preload luci.ltn12
Some existing legacy code expects the luci.ltn12 namespace to be implicitly available, even without requiring it beforehand. Fixes: #6091 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
2cbfd64dcb
commit
0141732f87
1 changed files with 5 additions and 4 deletions
|
@ -6,6 +6,7 @@ local tmpl = require "luci.template"
|
||||||
local util = require "luci.util"
|
local util = require "luci.util"
|
||||||
local http = require "luci.http"
|
local http = require "luci.http"
|
||||||
local sys = require "luci.sys"
|
local sys = require "luci.sys"
|
||||||
|
local ltn12 = require "luci.ltn12"
|
||||||
|
|
||||||
|
|
||||||
--- LuCI ucode bridge library.
|
--- LuCI ucode bridge library.
|
||||||
|
|
Loading…
Reference in a new issue