aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-07 19:23:21 -0800
committerfriendica <info@friendica.com>2013-02-07 19:23:21 -0800
commit9096e4c8e32bc48f0f59cda57a0f8e29326d0dd0 (patch)
tree963bbdfb57c25acd01529ebf93abc2f6f1013258 /boot.php
parent82ed07baa14690611835b2e9becfb3330396c581 (diff)
downloadvolse-hubzilla-9096e4c8e32bc48f0f59cda57a0f8e29326d0dd0.tar.gz
volse-hubzilla-9096e4c8e32bc48f0f59cda57a0f8e29326d0dd0.tar.bz2
volse-hubzilla-9096e4c8e32bc48f0f59cda57a0f8e29326d0dd0.zip
make pcss work (really this time)
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php6
1 files changed, 3 insertions, 3 deletions
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');