summaryrefslogtreecommitdiffhomepage
path: root/core/src/dispatcher.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-17 10:00:44 +0000
committerSteven Barth <steven@midlink.org>2008-05-17 10:00:44 +0000
commit6eae1a0103a3d12dee4bc8753efee88af203dff3 (patch)
treebe2c3176005ce796203c500d619e1e3b36136f01 /core/src/dispatcher.lua
parent357ba22175225ca40cfcffd1f61cc4621ff13dbe (diff)
* Generalized dispatcher handling
Diffstat (limited to 'core/src/dispatcher.lua')
-rw-r--r--core/src/dispatcher.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/dispatcher.lua b/core/src/dispatcher.lua
index c60e5dcd17..0a66ccd3ad 100644
--- a/core/src/dispatcher.lua
+++ b/core/src/dispatcher.lua
@@ -104,7 +104,7 @@ function build_url(category, module, action)
module = module or "index"
action = action or "index"
- local pattern = ffluci.http.env.SCRIPT_NAME .. "/%s/%s/%s"
+ local pattern = ffluci.http.dispatcher() .. "/%s/%s/%s"
return pattern:format(category, module, action)
end