]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3376 added RSS feed to default index page and suppressing on custom index...
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 11 Jun 2011 16:32:01 +0000 (16:32 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 11 Jun 2011 16:32:01 +0000 (16:32 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@9176 36083f99-b078-4883-b0ff-0f9b5a30f544

index.php
mod/custom_index/index.php

index 9cd0b2f02eb1201a2ba41f0367d657aa0a90b0fa..708e38ec94b300c78659560c42412e0a7d511af7 100644 (file)
--- 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(
index 94a1a16c6b1521ca676857e1aa986e033a3da1d7..e39e6ef290960071c6dc73f044ec2a4ce6cfef8f 100644 (file)
@@ -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);