From 342b1184a70f7729d75c52d472a8d3652156f5e6 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 11 Jun 2011 16:32:01 +0000 Subject: Fixes #3376 added RSS feed to default index page and suppressing on custom index front page git-svn-id: http://code.elgg.org/elgg/trunk@9176 36083f99-b078-4883-b0ff-0f9b5a30f544 --- index.php | 3 --- mod/custom_index/index.php | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 9cd0b2f02..708e38ec9 100644 --- a/index.php +++ b/index.php @@ -26,9 +26,6 @@ if (elgg_is_logged_in()) { $content = elgg_view_title(elgg_echo('content:latest')); $content .= elgg_list_river(); -global $autofeed; -$autofeed = FALSE; - $login_box = elgg_view('core/account/login_box'); $params = array( diff --git a/mod/custom_index/index.php b/mod/custom_index/index.php index 94a1a16c6..e39e6ef29 100644 --- a/mod/custom_index/index.php +++ b/mod/custom_index/index.php @@ -60,4 +60,8 @@ $params = array( ); $body = elgg_view_layout('custom_index', $params); +// no RSS feed with a "widget" front page +global $autofeed; +$autofeed = FALSE; + echo elgg_view_page('', $body); -- cgit v1.2.3