projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6151812
)
libs/web: eliminate another uneeded require in dispatcher
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 12 Aug 2011 12:34:13 +0000
(12:34 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 12 Aug 2011 12:34:13 +0000
(12:34 +0000)
libs/web/luasrc/dispatcher.lua
patch
|
blob
|
history
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