Update mw.tpl

This commit is contained in:
Mr Chen 2024-11-01 18:34:35 +08:00
parent 9b1552269b
commit 669bbfce93
1 changed files with 2 additions and 2 deletions

View File

@ -527,8 +527,8 @@ mw_default(){
address=$(cat ${PANEL_DIR}/data/domain.conf)
fi
admin_path=$(python3 ${PANEL_DIR}/panel_tools.py admin_path)
admin_path=$(cd ${PANEL_DIR} && python3 ${PANEL_DIR}/panel_tools.py admin_path)
if [ "$address" == "" ];then
v4=$(python3 ${PANEL_DIR}/panel_tools.py getServerIp 4)
v6=$(python3 ${PANEL_DIR}/panel_tools.py getServerIp 6)