xhprof安装判断

This commit is contained in:
midoks
2022-07-27 14:22:42 +08:00
parent a394c7218c
commit de13671065
+3 -1
View File
@@ -207,7 +207,9 @@ def getConfAppStart():
def installPreInspection():
path = mw.getServerDir() + '/php'
if not os.path.exists(path):
return "先安装一个可用的PHP版本!"
return 'ok'
if __name__ == "__main__":