mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user