diff options
author | friendica <info@friendica.com> | 2013-05-18 01:42:04 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-05-18 01:42:04 -0700 |
commit | 257b1db08da78766880db481127f9a58645bb52b (patch) | |
tree | 368d7c67aa15a500c1dc862cb8c6184ab7ffd4f9 /mod/home.php | |
parent | 367b21f8869f462c11109ad08058aa2a6c63313a (diff) | |
download | volse-hubzilla-257b1db08da78766880db481127f9a58645bb52b.tar.gz volse-hubzilla-257b1db08da78766880db481127f9a58645bb52b.tar.bz2 volse-hubzilla-257b1db08da78766880db481127f9a58645bb52b.zip |
default page on login changed to matrix (/network)
Diffstat (limited to 'mod/home.php')
-rw-r--r-- | mod/home.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mod/home.php b/mod/home.php index 1bb0148d2..0ded90d6f 100644 --- a/mod/home.php +++ b/mod/home.php @@ -8,8 +8,12 @@ function home_init(&$a) { $channel = $a->get_channel(); - if(local_user() && $channel && $channel['xchan_url']) - goaway( $channel['xchan_url']); + if(local_user() && $channel && $channel['xchan_url']) { + $dest = get_pconfig(local_user(),'system','startpage'); + if(! $dest) + $dest = z_root() . '/network'; + goaway($dest); + } if(get_account_id()) { goaway('new_channel'); |