aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-27 20:48:10 -0800
committerfriendica <info@friendica.com>2014-02-27 20:48:10 -0800
commit102521844b3d6f31d0d801b0d0c89241c2c621af (patch)
tree9e44dc68fdf76640a3f784b1ae872b960d73a413 /boot.php
parentd2bc7c606a6585dc82127717acf2cfe60b45f987 (diff)
downloadvolse-hubzilla-102521844b3d6f31d0d801b0d0c89241c2c621af.tar.gz
volse-hubzilla-102521844b3d6f31d0d801b0d0c89241c2c621af.tar.bz2
volse-hubzilla-102521844b3d6f31d0d801b0d0c89241c2c621af.zip
put schemas in Comanche (this requires theme support (!))
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/boot.php b/boot.php
index c37bd57b9..d080b7774 100755
--- a/boot.php
+++ b/boot.php
@@ -1678,10 +1678,11 @@ function current_theme(){
function current_theme_url($installing = false) {
global $a;
$t = current_theme();
- $uid = '';
- $uid = (($a->profile_uid) ? '?f=&puid=' . $a->profile_uid : '');
+ $opts = '';
+ $opts = (($a->profile_uid) ? '?f=&puid=' . $a->profile_uid : '');
+ $opts .= ((x($a->layout,'schema')) ? '&schema=' . $a->layout['schema'] : '');
if(file_exists('view/theme/' . $t . '/php/style.php'))
- return('view/theme/' . $t . '/php/style.pcss' . $uid);
+ return('view/theme/' . $t . '/php/style.pcss' . $opts);
return('view/theme/' . $t . '/css/style.css');
}