summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/ucode/dispatcher.uc
diff options
context:
space:
mode:
authorJames Haggerty <james.haggerty@morsemicro.com>2023-06-08 11:59:39 +1000
committerPaul Donald <newtwen@gmail.com>2024-03-17 00:23:45 +0100
commit97ebdcbddb9cad76dc551086fcb887e55886a069 (patch)
tree3f7f0786f1a34958d0421c7df7c3ee15c8c4d1df /modules/luci-base/ucode/dispatcher.uc
parent6abb5ed7095032fdf8d2c9e2cac3218db99b19e5 (diff)
luci-base: force menu to regenerate after uci change
Because the menu JSON can have 'depends' in them, uci changes should force the menu to regenerate. Closes #6423 Signed-off-by: James Haggerty <james.haggerty@morsemicro.com> Signed-off-by: Paul Donald <newtwen@gmail.com>
Diffstat (limited to 'modules/luci-base/ucode/dispatcher.uc')
-rw-r--r--modules/luci-base/ucode/dispatcher.uc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/ucode/dispatcher.uc b/modules/luci-base/ucode/dispatcher.uc
index 8717385be2..694891a90e 100644
--- a/modules/luci-base/ucode/dispatcher.uc
+++ b/modules/luci-base/ucode/dispatcher.uc
@@ -358,7 +358,7 @@ function build_pagetree() {
firstchild_ineligible: 'bool'
};
- let files = glob('/usr/share/luci/menu.d/*.json', '/usr/lib/lua/luci/controller/*.lua', '/usr/lib/lua/luci/controller/*/*.lua');
+ let files = glob('/usr/share/luci/menu.d/*.json', '/etc/config/*', '/usr/lib/lua/luci/controller/*.lua', '/usr/lib/lua/luci/controller/*/*.lua');
let cachefile;
if (indexcache) {