Files
yakpanel-core/mod/project/php/serviceconfMod.py

18 lines
658 B
Python
Raw Normal View History

2026-04-07 02:04:22 +05:30
# 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="")