aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-06-26 14:41:06 +1000
committerRedMatrix <info@friendica.com>2014-06-26 14:41:06 +1000
commit4d093e0e6db6fb8953a7d7761c335b812977c9f9 (patch)
treee335dfddfc62e60bf82bbaa6d94c9d8f5ffe97cb
parent6d891fbb9d5308b48d050e0a4be6394a6e826a88 (diff)
parentaed07dddce19e2536a5c1bcab9588a3003a7849b (diff)
downloadvolse-hubzilla-4d093e0e6db6fb8953a7d7761c335b812977c9f9.tar.gz
volse-hubzilla-4d093e0e6db6fb8953a7d7761c335b812977c9f9.tar.bz2
volse-hubzilla-4d093e0e6db6fb8953a7d7761c335b812977c9f9.zip
Merge pull request #509 from solstag/master
Let's have a global default startpage before falling back to apps
-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);