projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a9fe9c
)
* libs/web: Fixed reference to dispatcher in luci.dispatcher.build_url
author
Steven Barth
<steven@midlink.org>
Wed, 25 Jun 2008 14:58:18 +0000
(14:58 +0000)
committer
Steven Barth
<steven@midlink.org>
Wed, 25 Jun 2008 14:58:18 +0000
(14:58 +0000)
libs/web/luasrc/dispatcher.lua
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/dispatcher.lua
b/libs/web/luasrc/dispatcher.lua
index 60178741e9daf30b347dad581e5248ad7212467f..5bf3fc1d6f246ed207807267e73ebe770ebc8898 100644
(file)
--- a/
libs/web/luasrc/dispatcher.lua
+++ b/
libs/web/luasrc/dispatcher.lua
@@
-40,7
+40,7
@@
local fi
-- Builds a URL
function build_url(...)
- return luci.http.
dispatcher(
) .. "/" .. table.concat(arg, "/")
+ return luci.http.
getenv("SCRIPT_NAME"
) .. "/" .. table.concat(arg, "/")
end
-- Prints an error message or renders the "error401" template if available