diff options
author | Steven Barth <steven@midlink.org> | 2008-05-29 19:39:08 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-05-29 19:39:08 +0000 |
commit | d5c47776a5477bb9eaa9cd2585b3d27d10565807 (patch) | |
tree | 0c295fc55f30d18f72c088dfd19975552f2687fd /libs | |
parent | 3f5f89451e912039d70eeed9ed3373c72ab1e3f9 (diff) |
* Temporarily disabled fastindex-support due to a bug where controllers containing "require"-calls are not indexed correctly
Diffstat (limited to 'libs')
-rw-r--r-- | libs/web/luasrc/dispatcher.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index d1fcdcd0f..e769fd7b1 100644 --- a/libs/web/luasrc/dispatcher.lua +++ b/libs/web/luasrc/dispatcher.lua @@ -154,11 +154,13 @@ function createindex() local path = luci.sys.libpath() .. "/controller/" local suff = ".lua" - if pcall(require, "fastindex") then + --[[if pcall(require, "fastindex") then createindex_fastindex(path, suff) else createindex_plain(path, suff) - end + end]]-- + + createindex_plain(path, suff) built_index = true end |