summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 2cc2b02e4..09de82652 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -56,7 +56,7 @@ function init_theme() {
// File is a style; loads its CSS.
// Set theme to its template/theme
theme_add_style($themes[$theme]->filename);
- $theme = $themes[$theme]->description;
+ $theme = basename(dirname($themes[$theme]->description));
}
else {
// File is a template/theme