Initial YakPanel commit
This commit is contained in:
14
class/monitorModel/base.py
Normal file
14
class/monitorModel/base.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# coding: utf-8
|
||||
import os, sys, time, json
|
||||
|
||||
panelPath = '/www/server/panel'
|
||||
os.chdir(panelPath)
|
||||
if not panelPath + "/class/" in sys.path:
|
||||
sys.path.insert(0, panelPath + "/class/")
|
||||
import public, re
|
||||
|
||||
|
||||
class monitorBase:
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
Reference in New Issue
Block a user