Update index.py

This commit is contained in:
Mr Chen 2024-06-13 21:27:45 +08:00
parent 4df1555179
commit adcb4e74fa
1 changed files with 3 additions and 0 deletions

View File

@ -181,10 +181,13 @@ def phpFpmReplace(version):
def initReplace(version):
makeOpConf(version)
phpFpmWwwReplace(version)
install_ok = getServerDir() + "/" + version + "/install.ok"
if not os.path.exists(install_ok):
phpFpmReplace(version)
phpini = getConf(version)
ssl_crt = mw.getSslCrt()