Update index.py

This commit is contained in:
midoks
2022-06-22 13:44:35 +08:00
parent d42a34be48
commit 5c851db777
+1 -1
View File
@@ -139,7 +139,7 @@ def confReplace():
# 静态配置
static_conf = getServerDir() + '/nginx/conf/enable-php-00.conf'
if os.path.exists(static_conf):
if not os.path.exists(static_conf):
mw.writeFile(static_conf, '')
# give nginx root permission