From e670aa14890e473957115ca256b5efa3b54221cd Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 7 Jul 2022 16:09:29 +0800 Subject: [PATCH] Update index.py --- plugins/php-yum/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/php-yum/index.py b/plugins/php-yum/index.py index 6f53f7809..9a51157d3 100755 --- a/plugins/php-yum/index.py +++ b/plugins/php-yum/index.py @@ -600,7 +600,7 @@ def get_php_info(args): def getLibConf(version): - fname = mw.getServerDir() + '/php/' + version + '/etc/php.ini' + fname = getConf(version) if not os.path.exists(fname): return mw.returnJson(False, '指定PHP版本不存在!')