From 2539bcc54ab4924351f2d40559159be64dcfa793 Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 8 Jul 2022 09:39:52 +0800 Subject: [PATCH] Update index.py --- plugins/php-apt/index.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/php-apt/index.py b/plugins/php-apt/index.py index 2b19576f3..8a8f964fb 100755 --- a/plugins/php-apt/index.py +++ b/plugins/php-apt/index.py @@ -464,7 +464,8 @@ def checkFpmStatusFile(version): if not mw.isInstalledWeb(): return False - dfile = getServerDir() + '/nginx/conf/php_status/phpfpm_status_apt' + version + '.conf' + dfile = mw.getServerDir() + '/web_conf/php/status/phpfpm_status_apt' + \ + version + '.conf' if not os.path.exists(dfile): tpl = getPluginDir() + '/conf/phpfpm_status.conf' content = mw.readFile(tpl)