function shutdown() { global $router; try { $router->execute(); } catch (Exception $e) { Response::error404(); } }