From 485e8ab0a5502bacdac2a9d4e71c2b548aa8c552 Mon Sep 17 00:00:00 2001 From: Bart Visscher <bartv@thisnet.nl> Date: Tue, 23 Jul 2013 17:38:37 +0200 Subject: [PATCH] ignore config read failures --- lib/config.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/config.php b/lib/config.php index 00d9f5b424..9dbe2e46bd 100644 --- a/lib/config.php +++ b/lib/config.php @@ -144,7 +144,8 @@ class Config { continue; } unset($CONFIG); - include $file; + // ignore errors on include, this can happen when doing a fresh install + @include $file; if (isset($CONFIG) && is_array($CONFIG)) { $this->cache = array_merge($this->cache, $CONFIG); } -- GitLab