aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/boot.php b/boot.php
index 1eb64cb0a..1dc29051e 100644
--- a/boot.php
+++ b/boot.php
@@ -2331,8 +2331,6 @@ function construct_page() {
require_once(theme_include('theme_init.php'));
- $installing = false;
-
$uid = ((App::$profile_uid) ? App::$profile_uid : local_channel());
$navbar = get_config('system', 'navbar', 'default');
@@ -2344,14 +2342,10 @@ function construct_page() {
$navbar = App::$layout['navbar'];
}
- if (App::$module == 'setup') {
- $installing = true;
- }
- else {
+ if (App::$module !== 'setup') {
nav($navbar);
}
-
$current_theme = Zotlabs\Render\Theme::current();
// logger('current_theme: ' . print_r($current_theme,true));
// Zotlabs\Render\Theme::debug();
@@ -2372,7 +2366,7 @@ function construct_page() {
if (($p = theme_include('mod_' . App::$module . '.css')) != '')
head_add_css('mod_' . App::$module . '.css');
- head_add_css(Zotlabs\Render\Theme::url($installing));
+ head_add_css(Zotlabs\Render\Theme::url());
if (($p = theme_include('mod_' . App::$module . '.js')) != '')
head_add_js('mod_' . App::$module . '.js');