From 102521844b3d6f31d0d801b0d0c89241c2c621af Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 27 Feb 2014 20:48:10 -0800 Subject: put schemas in Comanche (this requires theme support (!)) --- boot.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'boot.php') 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'); } -- cgit v1.2.3