Update index.py
This commit is contained in:
parent
f7d7ee6b43
commit
0fa462c385
|
|
@ -224,7 +224,7 @@ def restyOp(method):
|
|||
file = initDreplace()
|
||||
|
||||
# 启动时,先检查一下配置文件
|
||||
check = getServerDir() + "/bin/httpd -t"
|
||||
check = getServerDir() + "/apache/httpd/bin/httpd -t"
|
||||
check_data = mw.execShell(check)
|
||||
if not check_data[1].find('test is successful') > -1:
|
||||
return check_data[1]
|
||||
|
|
|
|||
Loading…
Reference in New Issue