luci/modules/luci-lua-runtime
Jo-Philipp Wich fd7427c4e5 luci-lua-runtime: also search luci.dispatcher scope when looking up values
Some legacy templates access dispatcher functions such as `build_url()`
without explicit scope, which worked in the old runtime since the template
view namespace was instantiated from the dispatcher.

Ensure that this continues to function in the emulated runtime.

Fixes: #6082
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-11-09 20:37:54 +01:00
..
luasrc luci-lua-runtime: also search luci.dispatcher scope when looking up values 2022-11-09 20:37:54 +01:00
src treewide: separate Lua runtime resources 2022-10-25 01:03:37 +02:00
Makefile luci.mk: automatically depend on luci-lua-runtime 2022-10-25 01:03:37 +02:00