Update index.py

This commit is contained in:
midoks 2022-07-08 01:20:31 +08:00
parent b79feadf2d
commit dcaf4afbc0
1 changed files with 2 additions and 2 deletions

View File

@ -567,8 +567,8 @@ def getLibConf(version):
return mw.returnJson(False, '指定PHP版本不存在!')
# phpini = mw.readFile(fname)
content = mw.execShell('cat /etc/opt/remi/php' +
version + "/php.d/* | grep -v '^;' |tr -s '\n'")
content = mw.execShell(
'cat /etc/php/' + version + '/fpm/conf.d/*' + " | grep -v '^;' |tr -s '\n'")
content = content[0]
libpath = getPluginDir() + '/versions/phplib.conf'