feature/cierres #25

Open
aldarien wants to merge 446 commits from feature/cierres into develop
304 changed files with 767 additions and 11699 deletions
Showing only changes of commit 4e1901b7c8 - Show all commits

View File

@ -13,3 +13,10 @@ try {
$app->getContainer()->get(Psr\Log\LoggerInterface::class)->notice($exception);
header('Location: /construccion');
}
register_shutdown_function(function() {
$error = error_get_last();
if ($error !== null) {
error_log(json_encode($error).PHP_EOL,3, '/logs/fatal.log');
}
});