mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update setting.py
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ else:
|
||||
# 初始安装时,自动生成安全路径
|
||||
if not os.path.exists('data/admin_path.pl'):
|
||||
admin_path = mw.getRandomString(8)
|
||||
mw.writeFile('data/admin_path.pl', admin_path.lower())
|
||||
mw.writeFile('data/admin_path.pl', '/' + admin_path.lower())
|
||||
|
||||
if workers > 2:
|
||||
workers = 2
|
||||
|
||||
Reference in New Issue
Block a user