libs/web: fix file caches in dispatcher, broke when introducing lua-gz support
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 8 Apr 2009 00:08:38 +0000 (00:08 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 8 Apr 2009 00:08:38 +0000 (00:08 +0000)
libs/web/luasrc/dispatcher.lua

index 519473ea4aeb71f1edc0bbdad43a6e40081bb6e6..73daeaf17e50e24f40fbf48a24316b56d1c7ebec 100644 (file)
@@ -390,7 +390,7 @@ end
 function createindex_plain(path, suffixes)
        local controllers = { }
        for _, suffix in ipairs(suffixes) do
-               util.combine(
+               controllers = util.combine(
                        controllers,
                        luci.fs.glob(path .. "*" .. suffix) or {},
                        luci.fs.glob(path .. "*/*" .. suffix) or {}