Domain_theme module uses hook_custom_theme to change the default theme for certain domains.
When i visit that domain as an anonymous user, $sweaver->get_theme_key() returns the theme defined in hook_custom_theme.
If i try to change the theme as user one using sweaver, $sweaver->get_theme_key() returns the default theme provided.
This means i cannot use sweaver to style pages that have their theme changed using hook_custom_theme.
Is it posible to reset the sweaver instance on hook_custom_theme?
Test request sent.
[ View ]