mirror of
https://github.com/openwrt/luci.git
synced 2025-02-25 16:53:54 +00:00
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:
@ -2,10 +2,11 @@
|
||||
-- Licensed to the public under the Apache License 2.0.
|
||||
|
||||
local coroutine, assert, error, type, require = coroutine, assert, error, type, require
|
||||
local tmpl = require "luci.template"
|
||||
local util = require "luci.util"
|
||||
local http = require "luci.http"
|
||||
local sys = require "luci.sys"
|
||||
local tmpl = require "luci.template"
|
||||
local util = require "luci.util"
|
||||
local http = require "luci.http"
|
||||
local sys = require "luci.sys"
|
||||
local ltn12 = require "luci.ltn12"
|
||||
|
||||
|
||||
--- LuCI ucode bridge library.
|
||||
|
Reference in New Issue
Block a user