Browse Source

ignore config read failures

tags/v6.0.0alpha2
Bart Visscher 11 years ago
parent
commit
485e8ab0a5
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      lib/config.php

+ 2
- 1
lib/config.php View 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);
}

Loading…
Cancel
Save