Update index.py

This commit is contained in:
Mr Chen
2024-06-13 23:44:44 +08:00
parent 7e424691fd
commit d0e126118d
+1 -2
View File
@@ -714,8 +714,7 @@ def setDisableFunc(version):
phpini = mw.readFile(filename)
rep = "disable_functions\s*=\s*.*\n"
phpini = re.sub(rep, 'disable_functions = ' +
disable_functions + "\n", phpini)
phpini = re.sub(rep, 'disable_functions = ' + disable_functions + "\n", phpini)
msg = mw.getInfo('修改PHP-{1}的禁用函数为[{2}]', (version, disable_functions,))
mw.writeLog('插件管理[PHP-YUM]', msg)