]> source.dussan.org Git - nextcloud-server.git/commitdiff
ignore config read failures
authorBart Visscher <bartv@thisnet.nl>
Tue, 23 Jul 2013 15:38:37 +0000 (17:38 +0200)
committerBart Visscher <bartv@thisnet.nl>
Tue, 23 Jul 2013 15:38:37 +0000 (17:38 +0200)
lib/config.php

index 00d9f5b4247e80fc47af09e8a4b34363cb820c61..9dbe2e46bd2817cb14959f0debdb6bffd07d9349 100644 (file)
@@ -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);
                        }