From bac98696099c87c533438a220193297851596323 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 2 Apr 2019 13:48:12 +0800 Subject: [PATCH] =?UTF-8?q?PHP-00=20=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=94=AF=E6=8C=813?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/php/index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/php/index.py b/plugins/php/index.py index 2e74233a6..c5244b3ac 100755 --- a/plugins/php/index.py +++ b/plugins/php/index.py @@ -130,10 +130,10 @@ def makeOpenrestyConf(): dfile = sdir + '/openresty/nginx/conf/enable-php-' + x + '.conf' if not os.path.exists(dfile): if x == '00': - public.writeFile(desc_file, '') + public.writeFile(dfile, '') else: w_content = contentReplace(tpl_content, x) - public.writeFile(desc_file, w_content) + public.writeFile(dfile, w_content) #php-fpm status for version in phpversions: