Update index.py

This commit is contained in:
midoks 2022-07-10 15:06:54 +08:00
parent 181dae5e84
commit ec3c047c3f
1 changed files with 1 additions and 2 deletions

View File

@ -164,8 +164,7 @@ def phpFpmWwwReplace(version):
def deleteConfList(version):
sdir = mw.getServerDir()
enable_conf = sdir + '/web_conf/php/conf/enable-php-apt' + version + '.conf'
clist = (status_conf, enable_conf)
clist = (enable_conf)
for f in clist:
if os.path.exists(f):
os.remove(f)