summaryrefslogtreecommitdiffhomepage
path: root/core
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-04-14 17:15:49 +0000
committerSteven Barth <steven@midlink.org>2008-04-14 17:15:49 +0000
commitb0eedd3724b23ecb6acf9db50b99853a90887b41 (patch)
treec13c68dc07c5960af19a19da7c3fc93f6cea1660 /core
parent0476a479cad58059c3dab31266fe2d1530645807 (diff)
* Added QoS
Diffstat (limited to 'core')
-rw-r--r--core/src/ffluci/menu.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/ffluci/menu.lua b/core/src/ffluci/menu.lua
index ff4c547f50..c153ef5339 100644
--- a/core/src/ffluci/menu.lua
+++ b/core/src/ffluci/menu.lua
@@ -30,6 +30,7 @@ require("ffluci.util")
require("ffluci.template")
require("ffluci.i18n")
require("ffluci.config")
+require("ffluci.model.ipkg")
-- Default modelpath
modelpath = ffluci.config.path .. "/model/menu/"
@@ -37,7 +38,8 @@ modelpath = ffluci.config.path .. "/model/menu/"
-- Menu definition extra scope
scope = {
translate = ffluci.i18n.translate,
- loadtrans = ffluci.i18n.loadc
+ loadtrans = ffluci.i18n.loadc,
+ isfile = ffluci.fs.mtime
}
-- Local menu database