aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/home.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/home.php b/mod/home.php
index c074f9db5..86d489853 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -33,12 +33,13 @@ function home_content(&$a) {
if(x($_SESSION,'mobile-theme'))
unset($_SESSION['mobile-theme']);
+$channel_address = get_config("system", "site-channel" );
+ if ($channel_address){
require_once('include/items.php');
require_once('include/conversation.php');
- $channel_address = get_config("system", "site-channel" );
- if ($channel_address){
+
//We can do better, but until we figure out auto-linkification, let's keep things simple
$page_id = 'home';