From: Jo-Philipp Wich Date: Fri, 12 Aug 2011 12:34:13 +0000 (+0000) Subject: libs/web: eliminate another uneeded require in dispatcher X-Git-Tag: 0.11.0~1886 X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=986c4b5bc1cb228024fd11d4d866986577d3a52f libs/web: eliminate another uneeded require in dispatcher --- diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index 5fdd0a6383..89fa52ee1e 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