From aed07dddce19e2536a5c1bcab9588a3003a7849b Mon Sep 17 00:00:00 2001 From: Alexandre Hannud Abdo Date: Thu, 26 Jun 2014 01:30:21 -0300 Subject: Let's have a global default startpage before falling back to apps --- mod/home.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod/home.php') diff --git a/mod/home.php b/mod/home.php index 6f7a0b5d7..bc352976d 100644 --- a/mod/home.php +++ b/mod/home.php @@ -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'; -- cgit v1.2.3