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

27 lines
365 B

6 years ago
# 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 ----- ###
6 years ago
def get(self):
data = {}
data['site_path'] = public.getWwwDir()
return data
6 years ago
##### ----- end ----- ###