2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 19:37:18 +08:00

feat: 支持 IPV6 和优化数据库位置

This commit is contained in:
耗子
2023-12-14 00:51:30 +08:00
parent 11ad8e524e
commit d731efb082
14 changed files with 54 additions and 46 deletions

View File

@@ -55,6 +55,14 @@ if version_lt "$oldVersion" "2.1.8"; then
panel deleteSetting entrance
fi
if version_lt "$oldVersion" "2.1.30"; then
echo "更新面板到 v2.1.30 ..."
echo "Update panel to v2.1.30 ..."
sed -i '/APP_HOST/d' $panelPath/panel.conf
echo "APP_SSL=false" >> $panelPath/panel.conf
mv $panelPath/database/panel.db $panelPath/storage/panel.db
fi
echo $HR
echo "更新结束"
echo "Update finished"