summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-08-12 12:34:13 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-08-12 12:34:13 +0000
commit986c4b5bc1cb228024fd11d4d866986577d3a52f (patch)
tree86cd30cbc46d1f2c7a8de55c9e72307baba328e3 /libs
parent6151812920880233d953dd840e4f0bee59321ae7 (diff)
libs/web: eliminate another uneeded require in dispatcher
Diffstat (limited to 'libs')
-rw-r--r--libs/web/luasrc/dispatcher.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index 5fdd0a638..89fa52ee1 100644
--- 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