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:
89d84ae
)
(no commit message)
author
Steven Barth
<steven@midlink.org>
Tue, 6 May 2008 22:44:14 +0000
(22:44 +0000)
committer
Steven Barth
<steven@midlink.org>
Tue, 6 May 2008 22:44:14 +0000
(22:44 +0000)
core/contrib/webuci_bootstrap.lua
patch
|
blob
|
history
diff --git
a/core/contrib/webuci_bootstrap.lua
b/core/contrib/webuci_bootstrap.lua
index 7339e986c53500a2b7c6b7263b81de5b168bb53c..c8aa18ccafdbbc1b06a30db473ace4cdae87d5cd 100644
(file)
--- a/
core/contrib/webuci_bootstrap.lua
+++ b/
core/contrib/webuci_bootstrap.lua
@@
-14,7
+14,7
@@
function init_req(context)
PATH_INFO = "/" .. context.uri
REMOTE_PORT = context.remote_port
SERVER_ADDR = context.server_addr
- SCRIPT_NAME = REQUEST_URI:sub(1, #REQUEST_URI - #
context.uri
)
+ SCRIPT_NAME = REQUEST_URI:sub(1, #REQUEST_URI - #
PATH_INFO
)
end
function handle_req(context)