libs/web: eliminate another uneeded require in dispatcher
This commit is contained in:
parent
6151812920
commit
986c4b5bc1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue