mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-11-04 00:11:04 +00:00 
			
		
		
		
	[BRANDING] Rebrand default config settings for new installs (#140)
Replaces `Gitea` with `Forgejo` in the default config settings for new installs.
This will not affect existing installs.
Co-authored-by: Caesar Schinas <caesar@caesarschinas.com>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/140
Co-authored-by: Caesar Schinas <caesar@noreply.codeberg.org>
Co-committed-by: Caesar Schinas <caesar@noreply.codeberg.org>
(cherry picked from commit ca1319aa16)
	
	
This commit is contained in:
		
					parent
					
						
							
								107f726618
							
						
					
				
			
			
				commit
				
					
						52a4d238a0
					
				
			
		
					 6 changed files with 7 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -278,7 +278,7 @@ func loadRepositoryFrom(rootCfg ConfigProvider) {
 | 
			
		|||
	Repository.UseCompatSSHURI = sec.Key("USE_COMPAT_SSH_URI").MustBool()
 | 
			
		||||
	Repository.MaxCreationLimit = sec.Key("MAX_CREATION_LIMIT").MustInt(-1)
 | 
			
		||||
	Repository.DefaultBranch = sec.Key("DEFAULT_BRANCH").MustString(Repository.DefaultBranch)
 | 
			
		||||
	RepoRootPath = sec.Key("ROOT").MustString(path.Join(AppDataPath, "gitea-repositories"))
 | 
			
		||||
	RepoRootPath = sec.Key("ROOT").MustString(path.Join(AppDataPath, "forgejo-repositories"))
 | 
			
		||||
	forcePathSeparator(RepoRootPath)
 | 
			
		||||
	if !filepath.IsAbs(RepoRootPath) {
 | 
			
		||||
		RepoRootPath = filepath.Join(AppWorkPath, RepoRootPath)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue