aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Zotlabs/Render/Theme.php7
-rwxr-xr-xboot.php3
-rw-r--r--include/channel.php2
3 files changed, 11 insertions, 1 deletions
diff --git a/Zotlabs/Render/Theme.php b/Zotlabs/Render/Theme.php
index a732e4fef..62068bc82 100644
--- a/Zotlabs/Render/Theme.php
+++ b/Zotlabs/Render/Theme.php
@@ -127,5 +127,12 @@ class Theme {
return('view/theme/' . $t . '/css/style.css');
}
+
+ function debug() {
+ logger('system_theme: ' . self::$system_theme);
+ logger('session_theme: ' . self::$session_theme);
+
+ }
+
}
diff --git a/boot.php b/boot.php
index 19d64bd61..d50ffbc17 100755
--- a/boot.php
+++ b/boot.php
@@ -2211,6 +2211,9 @@ function construct_page(&$a) {
$current_theme = Zotlabs\Render\Theme::current();
+ // logger('current_theme: ' . print_r($current_theme,true));
+ // Zotlabs\Render\Theme::debug();
+
if (($p = theme_include($current_theme[0] . '.js')) != '')
head_add_js($p);
diff --git a/include/channel.php b/include/channel.php
index 62c35e3ff..1179697a4 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -936,7 +936,7 @@ function profile_load($nickname, $profile = '') {
* load/reload current theme info
*/
- $_SESSION['theme'] = $p[0]['channel_theme'];
+// $_SESSION['theme'] = $p[0]['channel_theme'];
}