Time to flip the switch.

This commit is contained in:
friendica 2014-05-21 21:33:31 -07:00
parent 751fda9704
commit 71a4abe293

View File

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