silverstripe/silverstripe-globaltoolbar — pull request #17 by stojg (2014-09-11 22:26:34+00:00)
Title: Use curl for fetching the toolbar and log errors

This refactoring includes three mayor pieces of work:

Uses curl. It allows setting timeouts to prevent website being locked up and crashing due to network outages.

Logs errors to the SS_Log with the error so we can trace where, why and what happened it the toolbar doesn't show

Transformed the class that provides the $GlobalNav template var from a TemplateIteratorProvider into a
GlobalTemplateProvider since the toolbar nav doesn't change inside a loop.