mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user