mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 19:01:56 +00:00
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user