aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);