summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/setting/setting.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 0ac63d691f..a7e93c36fc 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -544,10 +544,6 @@ func NewContext() {
Cfg = ini.Empty()
- if err != nil {
- log.Fatal(4, "Failed to parse 'app.ini': %v", err)
- }
-
CustomPath = os.Getenv("GITEA_CUSTOM")
if len(CustomPath) == 0 {
// For backward compatibility