From cd3b0bd7f7b30f7218044b4c2910795c9a7956bd Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 27 Jul 2022 14:23:14 +0800 Subject: [PATCH] #133 --- plugins/xhprof/index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/xhprof/index.py b/plugins/xhprof/index.py index cc4410a73..321fc9a63 100755 --- a/plugins/xhprof/index.py +++ b/plugins/xhprof/index.py @@ -207,6 +207,7 @@ def getConfAppStart(): def installPreInspection(): + path = mw.getServerDir() + '/php' if not os.path.exists(path): return "先安装一个可用的PHP版本!"