From 9096e4c8e32bc48f0f59cda57a0f8e29326d0dd0 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 7 Feb 2013 19:23:21 -0800 Subject: make pcss work (really this time) --- boot.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 647e8a6e3..bee75e371 100644 --- a/boot.php +++ b/boot.php @@ -1786,8 +1786,8 @@ if(! function_exists('current_theme_url')) { global $a; $t = current_theme(); if (file_exists('view/theme/' . $t . '/php/style.php')) - return($a->get_baseurl() . '/view/theme/' . $t . '/php/style.pcss'); - return($a->get_baseurl() . '/view/theme/' . $t . '/css/style.css'); + return('view/theme/' . $t . '/php/style.pcss'); + return('view/theme/' . $t . '/css/style.css'); } } @@ -2095,7 +2095,7 @@ function construct_page(&$a) { head_add_css(((x($a->page,'template')) ? $a->page['template'] : 'default' ) . '.css'); head_add_css('mod_' . $a->module . '.css'); - head_add_css('style.css'); + head_add_css(current_theme_url()); head_add_js('mod_' . $a->module . '.js'); -- cgit v1.2.3