aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/index.php b/index.php
index 61f3562b5..f4c92cc5f 100644
--- a/index.php
+++ b/index.php
@@ -356,7 +356,10 @@ if($a->module != 'install') {
* Build the page - now that we have all the components
*/
-$a->page['htmlhead'] = replace_macros($a->page['htmlhead'], array('$stylesheet' => current_theme_url()));
+$a->page['htmlhead'] = replace_macros($a->page['htmlhead'],
+ array('$stylesheet' => current_theme_url(),
+ '$theme' => current_theme()
+ ));
$page = $a->page;
$profile = $a->profile;