fix yii pathmode

pull/83/head
GXhua 9 years ago
parent 3492d0601c
commit 03580d04d9

@ -106,6 +106,11 @@ function Set (list)
end end
function args() function args()
for _,rule in pairs(argsrules) do for _,rule in pairs(argsrules) do
if ngxmatch(unescape(ngx.var.request_uri),rule,"isjo") then
log('test',ngx.var.request_uri,"-",rule)
say_html()
return true
end
local args = ngx.req.get_uri_args() local args = ngx.req.get_uri_args()
for key, val in pairs(args) do for key, val in pairs(args) do
if type(val)=='table' then if type(val)=='table' then

Loading…
Cancel
Save