From eedaef7eecd327b07025151d9f025431902dd77a Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 21 Sep 2022 17:06:19 +0800 Subject: [PATCH] Update site_api.py --- class/core/site_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/core/site_api.py b/class/core/site_api.py index 9bffb2872..748c07803 100755 --- a/class/core/site_api.py +++ b/class/core/site_api.py @@ -2371,7 +2371,7 @@ location ^~ {from} { self.delUserInI(newPath) openPath = 'open_basedir={}/:{}/'.format(newPath, sitePath) if runPath == '/': - openPath = 'open_basedir={}/'.format(newPath) + openPath = 'open_basedir={}/'.format(sitePath) mw.writeFile(filename, openPath + ':/www/server/php:/tmp/:/proc/') mw.execShell("chattr +i " + filename)