Update init.lua

pull/13/head
loveshell 11 years ago
parent 87646bb1ef
commit e1ffb54cc3

@ -77,10 +77,12 @@ function say_html()
end end
function whiteurl() function whiteurl()
if WhiteCheck then if WhiteCheck then
for _,rule in pairs(wturlrules) do if wturlrules ~=nil then
if ngxmatch(ngx.var.request_uri,rule,"isjo") then for _,rule in pairs(wturlrules) do
return true if ngxmatch(ngx.var.request_uri,rule,"isjo") then
return true
end
end end
end end
end end

Loading…
Cancel
Save