From ec3c047c3f2e51b77e9647cceb7d8f8226fb2cc6 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 10 Jul 2022 15:06:54 +0800 Subject: [PATCH] Update index.py --- plugins/php-apt/index.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/php-apt/index.py b/plugins/php-apt/index.py index 9b9487c14..94ed93094 100755 --- a/plugins/php-apt/index.py +++ b/plugins/php-apt/index.py @@ -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)