don't set session theme unless logged in.

This commit is contained in:
redmatrix
2016-08-16 22:15:51 -07:00
parent b2eede891a
commit 537401cf27
3 changed files with 11 additions and 1 deletions

View File

@@ -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);