拆分文件

pull/63/head
ibuler 2016-06-18 15:03:28 +08:00
parent db6eda926b
commit 4eb8d59b83
2 changed files with 15 additions and 0 deletions

5
access.lua Normal file
View File

@ -0,0 +1,5 @@
if cc_deny then
denyCC(cc_rate, cc_deny_seconds)
else
return
end

10
entry.lua Normal file
View File

@ -0,0 +1,10 @@
--------- Global default config -------
require 'config'
--------- Local config setting --------
cc_deny = false
cc_rate = '10/60'
--------- Init project ----------------
require 'init'
--------- Access control limit --------
require ''