silverstripe-labs/silverstripe-staticpublisher — pull request #15 by nedmas (2013-05-20 16:07:43+00:00)
Title: BUGFIX: Ensure that theme is detected properly

Prevent the update of config SSViewer.theme with SSViewer.custom_theme as this was blocking the detection of the theme set by SSViewer::set_theme() and only detecting the theme configured via CMSSettingsController.