|
|
@ -464,7 +464,7 @@ def checkFpmStatusFile(version): |
|
|
|
if not mw.isInstalledWeb(): |
|
|
|
if not mw.isInstalledWeb(): |
|
|
|
return False |
|
|
|
return False |
|
|
|
|
|
|
|
|
|
|
|
dfile = getServerDir() + '/nginx/conf/php_status/phpfpm_status_yum' + version + '.conf' |
|
|
|
dfile = getServerDir() + '/nginx/conf/php_status/phpfpm_status_apt' + version + '.conf' |
|
|
|
if not os.path.exists(dfile): |
|
|
|
if not os.path.exists(dfile): |
|
|
|
tpl = getPluginDir() + '/conf/phpfpm_status.conf' |
|
|
|
tpl = getPluginDir() + '/conf/phpfpm_status.conf' |
|
|
|
content = mw.readFile(tpl) |
|
|
|
content = mw.readFile(tpl) |
|
|
|