Time to flip the switch.
This commit is contained in:
parent
751fda9704
commit
71a4abe293
@ -12,9 +12,11 @@ function home_init(&$a) {
|
|||||||
$channel = $a->get_channel();
|
$channel = $a->get_channel();
|
||||||
|
|
||||||
if(local_user() && $channel && $channel['xchan_url']) {
|
if(local_user() && $channel && $channel['xchan_url']) {
|
||||||
$dest = get_pconfig(local_user(),'system','startpage');
|
$dest = $channel['channel_startpage'];
|
||||||
if(! $dest)
|
if(! $dest)
|
||||||
$dest = z_root() . '/network';
|
$dest = get_pconfig(local_user(),'system','startpage');
|
||||||
|
if(! $dest)
|
||||||
|
$dest = z_root() . '/apps';
|
||||||
|
|
||||||
goaway($dest);
|
goaway($dest);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user