diff options
Diffstat (limited to 'src/ffluci/cbi.lua')
-rw-r--r-- | src/ffluci/cbi.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ffluci/cbi.lua b/src/ffluci/cbi.lua index 5bc40499c8..1ccf2e56d2 100644 --- a/src/ffluci/cbi.lua +++ b/src/ffluci/cbi.lua @@ -38,8 +38,9 @@ local instanceof = ffluci.util.instanceof function load(cbimap) require("ffluci.fs") require("ffluci.i18n") + require("ffluci.config") - local cbidir = ffluci.fs.dirname(ffluci.util.__file__()) .. "/model/cbi/" + local cbidir = ffluci.config.path .. "/model/cbi/" local func, err = loadfile(cbidir..cbimap..".lua") if not func then |