projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libs/web: eliminate another uneeded require in dispatcher
[project/luci.git]
/
libs
/
web
/
luasrc
/
dispatcher.lua
diff --git
a/libs/web/luasrc/dispatcher.lua
b/libs/web/luasrc/dispatcher.lua
index 5fdd0a6383fdca06d1c076e264ace27e9002be82..89fa52ee1e4705db906fd66784326a1cc98c4b26 100644
(file)
--- a/
libs/web/luasrc/dispatcher.lua
+++ b/
libs/web/luasrc/dispatcher.lua
@@
-229,7
+229,7
@@
function dispatch(request)
ctx.path = preq
if track.i18n then
-
require("luci.i18n")
.loadc(track.i18n)
+
i18n
.loadc(track.i18n)
end
-- Init template engine