re-order the navbar preferences - 1. profile_uid, 2. local_channel, 3, site, 4 'default'
This commit is contained in:
parent
09b4660c7d
commit
769da564e2
6
boot.php
6
boot.php
@ -2090,9 +2090,11 @@ function construct_page() {
|
||||
|
||||
$installing = false;
|
||||
|
||||
$uid = ((App::$profile_uid) ? App::$profile_uid : local_channel());
|
||||
|
||||
$navbar = get_config('system','navbar','default');
|
||||
if(App::$profile_uid) {
|
||||
$navbar = get_pconfig(App::$profile_uid,'system','navbar',$navbar);
|
||||
if($uid) {
|
||||
$navbar = get_pconfig($uid,'system','navbar',$navbar);
|
||||
}
|
||||
|
||||
if($comanche && App::$layout['navbar']) {
|
||||
|
Reference in New Issue
Block a user