From 258e6641da925f9341b3d1aa9aeab1c4cdfc794f Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 10 Jan 2019 14:52:22 +0800 Subject: [PATCH] Update index.py --- plugins/php/index.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/php/index.py b/plugins/php/index.py index a72f60a6b..40d0cc700 100755 --- a/plugins/php/index.py +++ b/plugins/php/index.py @@ -177,6 +177,8 @@ def initReplace(version): session_path = '/tmp/session' if not os.path.exists(session_path): os.mkdir(session_path) + if not public.isAppleSystem(): + public.execShell('chmod -R www:www' + session_path) return file_bin