mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-22 08:00:53 +00:00
feat: Fix the issue where website configuration files fail to restore from backups. (#13445)
This commit is contained in:
@@ -1560,7 +1560,7 @@ func GetSitePath(website model.Website, confType string) string {
|
||||
|
||||
func GetConfDir(website model.Website) string {
|
||||
if website.Type != constant.Stream {
|
||||
return GetOpenrestyDir(SiteConf)
|
||||
return GetOpenrestyDir(SiteConfDir)
|
||||
}
|
||||
return GetOpenrestyDir(StreamDir)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user