Update index.py

This commit is contained in:
dami 2026-04-11 20:36:30 +08:00
parent 0fa462c385
commit b0133162f0
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ def restyOp_restart():
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 'ERROR: 配置出错<br><a style="color:red;">' + check_data[1].replace("\n", '<br>') + '</a>'