Simple Linux Panel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
mdserver-web/class/core/config_api.py

26 lines
365 B

# coding: utf-8
import psutil
import time
import os
import sys
import public
import re
import json
import pwd
class config_api:
def __init__(self):
pass
##### ----- start ----- ###
def get(self):
data = {}
data['site_path'] = public.getWwwDir()
return data
##### ----- end ----- ###