req['uri_str'] ?? ''; $file = basename($uri_str); if (str_ends_with($file, '.htc')) load_htc($file); } function CRIMSON_error_hook(?array $req, int $code): never { $error_controller = ROUTER->load_controller('error'); $error_controller->code($code); CRIMSON_DIE(); }