mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Add warning when using relative path to app.ini (#10104)
Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
		| @@ -511,6 +511,7 @@ func SetCustomPathAndConf(providedCustom, providedConf, providedWorkPath string) | ||||
| 		CustomConf = path.Join(CustomPath, "conf/app.ini") | ||||
| 	} else if !filepath.IsAbs(CustomConf) { | ||||
| 		CustomConf = path.Join(CustomPath, CustomConf) | ||||
| 		log.Warn("Using 'custom' directory as relative origin for configuration file: '%s'", CustomConf) | ||||
| 	} | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user