aboutsummaryrefslogtreecommitdiffstats
path: root/mod/home.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-14 17:03:37 -0800
committerfriendica <info@friendica.com>2013-12-14 17:03:37 -0800
commitd14e2db6b436b3190db0c506cf5f907bd1a7fcc9 (patch)
tree43e04315c97c47e0b75a1048e645e3e5968eeb4b /mod/home.php
parentc00f0d4b282f2242b9c2e154a5381029cf0dc812 (diff)
downloadvolse-hubzilla-d14e2db6b436b3190db0c506cf5f907bd1a7fcc9.tar.gz
volse-hubzilla-d14e2db6b436b3190db0c506cf5f907bd1a7fcc9.tar.bz2
volse-hubzilla-d14e2db6b436b3190db0c506cf5f907bd1a7fcc9.zip
make home.html fullpage mode - make directory search work for non-logged in, but leave off suggest and invite
Diffstat (limited to 'mod/home.php')
-rw-r--r--mod/home.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/home.php b/mod/home.php
index edcaa938d..3f862b596 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -1,6 +1,6 @@
<?php
-if(! function_exists('home_init')) {
+
function home_init(&$a) {
$ret = array();
@@ -20,10 +20,10 @@ function home_init(&$a) {
goaway(z_root() . '/new_channel');
}
-}}
+}
+
-if(! function_exists('home_content')) {
function home_content(&$a) {
$o = '';
@@ -85,4 +85,4 @@ require_once('include/conversation.php');
return $o;
}
-}
+