Update init.lua

distributed
loveshell 2013-03-26 21:07:01 +08:00
parent 887934079f
commit 2f5f49210c
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ function check()
end
------------------------------------规则读取函数-------------------------------------------------------------------
function read_rule(var)
file = io.open("./wafconf/"..var,"r")
file = io.open("/usr/local/nginx/conf/wafconf/"..var,"r")
t = {}
for line in file:lines() do
table.insert(t,line)