diff --git a/plugins/xhprof/index.py b/plugins/xhprof/index.py index ec3b5d645..b4d26aada 100755 --- a/plugins/xhprof/index.py +++ b/plugins/xhprof/index.py @@ -209,7 +209,6 @@ def getConfAppStart(): def installPreInspection(): - path = mw.getServerDir() + '/php' if not os.path.exists(path): return "先安装一个可用的PHP版本!"