Outside an implementation of hook_footer(), the global variable $custom_theme doesn't get any valid value.
See also http://drupal.org/node/299131.

Comments

wmostrey’s picture

Status: Active » Closed (won't fix)