do not default to channel_startpage if startpage app is not installed

This commit is contained in:
Mario Vavti 2018-10-01 12:38:04 +02:00
parent 7dadf387e5
commit 08a287dea1

View File

@ -18,9 +18,7 @@ class Home extends \Zotlabs\Web\Controller {
$channel = \App::get_channel();
if(local_channel() && $channel && $channel['xchan_url'] && ! $splash) {
$dest = $channel['channel_startpage'];
if(! $dest)
$dest = get_pconfig(local_channel(),'system','startpage');
$dest = (($ret['startpage']) ? $ret['startpage'] : '');
if(! $dest)
$dest = get_config('system','startpage');
if(! $dest)