Let's have a global default startpage before falling back to apps

This commit is contained in:
Alexandre Hannud Abdo 2014-06-26 01:30:21 -03:00
parent 6d891fbb9d
commit aed07dddce

View File

@ -15,6 +15,8 @@ function home_init(&$a) {
$dest = $channel['channel_startpage'];
if(! $dest)
$dest = get_pconfig(local_user(),'system','startpage');
if(! $dest)
$dest = get_config('system','startpage');
if(! $dest)
$dest = z_root() . '/apps';