ignore config read failures

Tento commit je obsažen v:
Bart Visscher 2013-07-23 17:38:37 +02:00
rodič 5caa7576d4
revize 485e8ab0a5

Zobrazit soubor

@ -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);
}