aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index d080b7774..1c7e5f147 100755
--- a/boot.php
+++ b/boot.php
@@ -1852,7 +1852,11 @@ function construct_page(&$a) {
require_once('include/js_strings.php');
- head_add_css(((x($a->page,'template')) ? $a->page['template'] : 'default' ) . '.css');
+ if(x($a->page,'template_style'))
+ head_add_css($a->page['template_style'] . '.css');
+ else
+ head_add_css(((x($a->page,'template')) ? $a->page['template'] : 'default' ) . '.css');
+
head_add_css('mod_' . $a->module . '.css');
head_add_css(current_theme_url($installing));