Merge pull request #509 from solstag/master
Let's have a global default startpage before falling back to apps
This commit is contained in:
commit
4d093e0e6d
@ -15,6 +15,8 @@ function home_init(&$a) {
|
|||||||
$dest = $channel['channel_startpage'];
|
$dest = $channel['channel_startpage'];
|
||||||
if(! $dest)
|
if(! $dest)
|
||||||
$dest = get_pconfig(local_user(),'system','startpage');
|
$dest = get_pconfig(local_user(),'system','startpage');
|
||||||
|
if(! $dest)
|
||||||
|
$dest = get_config('system','startpage');
|
||||||
if(! $dest)
|
if(! $dest)
|
||||||
$dest = z_root() . '/apps';
|
$dest = z_root() . '/apps';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user