Name of the active theme.
global $theme
If you find global $theme to be empty, you may want to try the following:
$theme = variable_get('theme_default', NULL);
Comments
Isn't always set :(
If you find global $theme to be empty, you may want to try the following:
$theme = variable_get('theme_default', NULL);