From e77ae8763bf45b4efc586dbe27d676446cd30b8b Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 17 Oct 2026 13:28:22 +0800 Subject: [PATCH] Update index.py --- plugins/rapira/index.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/rapira/index.py b/plugins/rapira/index.py index 0a89a27ad..7bf014248 100755 --- a/plugins/rapira/index.py +++ b/plugins/rapira/index.py @@ -164,19 +164,19 @@ def makeOpenrestyConf(): sdir = mw.getServerDir() - dst_dir = sdir + '/web_conf/rapira' + dst_dir = sdir + '/web_conf/php' if not os.path.exists(dst_dir): mw.execShell('mkdir -p ' + dst_dir) - dst_dir_conf = sdir + '/web_conf/rapira/conf' + dst_dir_conf = sdir + '/web_conf/php/conf' if not os.path.exists(dst_dir_conf): mw.execShell('mkdir -p ' + dst_dir_conf) - dst_dir_upstream = sdir + '/web_conf/rapira/upstream' + dst_dir_upstream = sdir + '/web_conf/php/upstream' if not os.path.exists(dst_dir_upstream): mw.execShell('mkdir -p ' + dst_dir_upstream) - dst_pathinfo = sdir + '/web_conf/rapira/pathinfo.conf' + dst_pathinfo = sdir + '/web_conf/php/pathinfo.conf' if not os.path.exists(dst_pathinfo): src_pathinfo = getPluginDir() + '/conf/pathinfo.conf' shutil.copyfile(src_pathinfo, dst_pathinfo)