Initial YakPanel commit
This commit is contained in:
17
mod/project/php/serviceconfMod.py
Normal file
17
mod/project/php/serviceconfMod.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# coding: utf-8
|
||||
# -------------------------------------------------------------------
|
||||
# yakpanel
|
||||
# -------------------------------------------------------------------
|
||||
# Copyright (c) 2015-2017 yakpanel(https://www.yakpanel.com) All rights reserved.
|
||||
# -------------------------------------------------------------------
|
||||
# Author: baozi <baozi@yakpanel.com>
|
||||
# -------------------------------------------------------------------
|
||||
# 服务配置模块
|
||||
# ------------------------------
|
||||
|
||||
from mod.base.web_conf import IpRestrict
|
||||
|
||||
|
||||
class main(IpRestrict): # 继承并使用同ip黑白名单限制
|
||||
def __init__(self):
|
||||
super().__init__(config_prefix="")
|
||||
Reference in New Issue
Block a user