mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +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'):
|
if not os.path.exists('data/admin_path.pl'):
|
||||||
admin_path = mw.getRandomString(8)
|
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:
|
if workers > 2:
|
||||||
workers = 2
|
workers = 2
|
||||||
|
|||||||
Reference in New Issue
Block a user