Update site_api.py

pull/199/head
midoks 3 years ago
parent 3265deed3d
commit eedaef7eec
  1. 2
      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)

Loading…
Cancel
Save