aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-11 16:32:01 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-11 16:32:01 +0000
commit342b1184a70f7729d75c52d472a8d3652156f5e6 (patch)
tree6dce473fbc0d0e90b9095a971c74e3ccf0c8fa18
parent0e39eac3459d2ff698b51e87a469a2790e510a19 (diff)
downloadelgg-342b1184a70f7729d75c52d472a8d3652156f5e6.tar.gz
elgg-342b1184a70f7729d75c52d472a8d3652156f5e6.tar.bz2
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
-rw-r--r--index.php3
-rw-r--r--mod/custom_index/index.php4
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);