From 489dbc75908d4e6f53ec1de17e50356b084a6002 Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 7 Jul 2022 15:46:41 +0800 Subject: [PATCH] Update index.py --- plugins/php-yum/index.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/php-yum/index.py b/plugins/php-yum/index.py index 9b4f46879..8a8116484 100755 --- a/plugins/php-yum/index.py +++ b/plugins/php-yum/index.py @@ -67,7 +67,7 @@ def checkArgs(data, ck=[]): def getConf(version): - path = getServerDir() + '/php' + version + '/etc/php.ini' + path = getServerDir() + '/php' + version + '/php.ini' return path @@ -202,11 +202,11 @@ def phpFpmWwwReplace(version): def getFpmConf(version): - return getServerDir() + '/' + version + '/etc/php-fpm.d/www.conf' + return getServerDir() + '/' + version + '/php-fpm.d/www.conf' def makePhpIni(version): - dst_ini = mw.getServerDir() + '/php/' + version + '/etc/php.ini' + dst_ini = mw.getServerDir() + '/php/' + version + '/php.ini' if not os.path.exists(dst_ini): src_ini = getPluginDir() + '/conf/php' + version[0:1] + '.ini' # shutil.copyfile(s_ini, d_ini)