modify path dot

distributed
loveshell 2013-03-25 07:50:50 +08:00
parent b12cc06d32
commit 28e14beeb2
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ function check()
ngx.exit(200)
end
function read_rule(var)
file = io.open("/usr/local/nginx/conf/wafconf/"..var,"r")
file = io.open("./wafconf/"..var,"r")
t = {}
for line in file:lines() do
table.insert(t,line)