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 519473e..73daeaf 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 {}