Upgrade to 3.5.5

This commit is contained in:
Bastian Allgeier
2021-05-11 11:55:32 +02:00
parent de3560f3d6
commit efeff45192
146 changed files with 2008 additions and 1075 deletions

View File

@@ -83,7 +83,7 @@ trait AppErrors
$fatal = $this->option('fatal');
if (is_a($fatal, 'Closure') === true) {
echo $fatal($this);
echo $fatal($this, $exception);
} else {
include $this->root('kirby') . '/views/fatal.php';
}
@@ -144,6 +144,7 @@ trait AppErrors
});
$this->setWhoopsHandler($handler);
$this->whoops()->sendHttpCode(false);
}
/**