aboutsummaryrefslogtreecommitdiffstats
path: root/mod/home.php
diff options
context:
space:
mode:
authorAlexandre Hannud Abdo <abdo@member.fsf.org>2014-06-26 01:30:21 -0300
committerAlexandre Hannud Abdo <abdo@member.fsf.org>2014-06-26 01:30:21 -0300
commitaed07dddce19e2536a5c1bcab9588a3003a7849b (patch)
treee335dfddfc62e60bf82bbaa6d94c9d8f5ffe97cb /mod/home.php
parent6d891fbb9d5308b48d050e0a4be6394a6e826a88 (diff)
downloadvolse-hubzilla-aed07dddce19e2536a5c1bcab9588a3003a7849b.tar.gz
volse-hubzilla-aed07dddce19e2536a5c1bcab9588a3003a7849b.tar.bz2
volse-hubzilla-aed07dddce19e2536a5c1bcab9588a3003a7849b.zip
Let's have a global default startpage before falling back to apps
Diffstat (limited to 'mod/home.php')
-rw-r--r--mod/home.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/home.php b/mod/home.php
index 6f7a0b5d7..bc352976d 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -16,6 +16,8 @@ function home_init(&$a) {
if(! $dest)
$dest = get_pconfig(local_user(),'system','startpage');
if(! $dest)
+ $dest = get_config('system','startpage');
+ if(! $dest)
$dest = z_root() . '/apps';
goaway($dest);