ignore config read failures

remotes/origin/stable6
Bart Visscher 12 years ago
parent 5caa7576d4
commit 485e8ab0a5
  1. 3
      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);
}

Loading…
Cancel
Save