From 03580d04d9b76110f001d2ec2e63ae05b4a50ffc Mon Sep 17 00:00:00 2001 From: GXhua <393323503@qq.com> Date: Wed, 27 Jan 2016 17:33:58 +0800 Subject: [PATCH] fix yii pathmode --- init.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.lua b/init.lua index 3eaf381..40a1571 100644 --- a/init.lua +++ b/init.lua @@ -106,6 +106,11 @@ function Set (list) end function args() 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() for key, val in pairs(args) do if type(val)=='table' then