diff options
author | Alexandre Hannud Abdo <abdo@member.fsf.org> | 2014-06-26 01:30:21 -0300 |
---|---|---|
committer | Alexandre Hannud Abdo <abdo@member.fsf.org> | 2014-06-26 01:30:21 -0300 |
commit | aed07dddce19e2536a5c1bcab9588a3003a7849b (patch) | |
tree | e335dfddfc62e60bf82bbaa6d94c9d8f5ffe97cb /mod | |
parent | 6d891fbb9d5308b48d050e0a4be6394a6e826a88 (diff) | |
download | volse-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')
-rw-r--r-- | mod/home.php | 2 |
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); |