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

fix: website save

This commit is contained in:
耗子
2024-10-11 02:56:28 +08:00
parent ac6c57b394
commit 07bb0961da
6 changed files with 31 additions and 11 deletions

View File

@@ -69,7 +69,7 @@ func (r *websiteRepo) Get(id uint) (*types.WebsiteSetting, error) {
setting.Name = website.Name
setting.Path = website.Path
setting.SSL = website.SSL
setting.PHP = strconv.Itoa(website.PHP)
setting.PHP = website.PHP
setting.Raw = config
portStr := str.Cut(config, "# port标记位开始", "# port标记位结束")