diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-10-09 17:49:55 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-10-09 17:49:55 +0200 |
commit | 5698462588066b942d7f8784d06942385db8daa4 (patch) | |
tree | 15e65d68fc7a0c8bbe06143e4d8da23a6b8e8585 /boot.php | |
parent | f99c007187b83755d7b1c80c63fde7c1162a99c4 (diff) | |
parent | 23812e5b48b7a4d4f0c275c0fbb3d244a582397c (diff) | |
download | volse-hubzilla-5698462588066b942d7f8784d06942385db8daa4.tar.gz volse-hubzilla-5698462588066b942d7f8784d06942385db8daa4.tar.bz2 volse-hubzilla-5698462588066b942d7f8784d06942385db8daa4.zip |
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -2090,17 +2090,21 @@ function construct_page() { $installing = false; + $navbar = get_config('system','navbar','nav'); + if(App::$profile_uid) { + $navbar = get_pconfig(App::$profile_uid,'system','navbar',$navbar); + } + + if($comanche && App::$layout['navbar']) { + $navbar = App::$layout['navbar']; + } + if (App::$module == 'setup') { $installing = true; } else { - nav($a); + nav($navbar); } - if ($comanche) { - if (App::$layout['nav']) { - App::$page['nav'] = get_custom_nav(App::$layout['nav']); - } - } $current_theme = Zotlabs\Render\Theme::current(); |