diff options
Diffstat (limited to 'lib/config.php')
-rw-r--r-- | lib/config.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/config.php b/lib/config.php index f7852fd68f6..e773e6e2eb0 100644 --- a/lib/config.php +++ b/lib/config.php @@ -144,11 +144,8 @@ class Config { continue; } unset($CONFIG); - if((@include $file) === false) - { - throw new HintException("Can't read from config file '" . $file . "'. ". - 'This is usually caused by the wrong file permission.'); - } + // 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); } |