silverstripe-labs/silverstripe-staticpublisher — pull request #21 by dhensby (2013-07-17 14:12:47+00:00)
Title: FIX Config settings returned to normal after publishing completes

When calling this function onAfterWrite of a DO, the site theme was used to render the CMS form. This fix corrects that by restoring all the config options that are changed