This commit is contained in:
Mr Chen
2018-12-18 19:37:46 +08:00
parent 37519b4c92
commit 4dc2828c59
8 changed files with 63 additions and 17 deletions
+7
View File
@@ -73,6 +73,13 @@ def isAppleSystem():
return False
def isInstalledWeb():
path = getServerDir() + '/openresty/nginx/sbin/nginx'
if os.path.exists(path):
return True
return False
def M(table):
sql = db.Sql()
return sql.table(table)