Merge pull request #509 from solstag/master

Let's have a global default startpage before falling back to apps
This commit is contained in:
RedMatrix 2014-06-26 14:41:06 +10:00
commit 4d093e0e6d

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';