libs/web: eliminate another uneeded require in dispatcher

This commit is contained in:
Jo-Philipp Wich 2011-08-12 12:34:13 +00:00
parent 6151812920
commit 986c4b5bc1

View file

@ -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