aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-21 21:33:31 -0700
committerfriendica <info@friendica.com>2014-05-21 21:33:31 -0700
commit71a4abe293c12bed82f18a8118c7d0530009d369 (patch)
tree9510c82c3d140cfcaa254b11267cddbe155fccdb
parent751fda97045ad4e399e9a01cc14d8eb058b361a8 (diff)
downloadvolse-hubzilla-71a4abe293c12bed82f18a8118c7d0530009d369.tar.gz
volse-hubzilla-71a4abe293c12bed82f18a8118c7d0530009d369.tar.bz2
volse-hubzilla-71a4abe293c12bed82f18a8118c7d0530009d369.zip
Time to flip the switch.
-rw-r--r--mod/home.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/home.php b/mod/home.php
index 05626dcb5..862f6303c 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -12,9 +12,11 @@ function home_init(&$a) {
$channel = $a->get_channel();
if(local_user() && $channel && $channel['xchan_url']) {
- $dest = get_pconfig(local_user(),'system','startpage');
+ $dest = $channel['channel_startpage'];
if(! $dest)
- $dest = z_root() . '/network';
+ $dest = get_pconfig(local_user(),'system','startpage');
+ if(! $dest)
+ $dest = z_root() . '/apps';
goaway($dest);
}