Skip to content
This repository
Browse code

Fixes #3376 added RSS feed to default index page and suppressing on c…

…ustom index front page

git-svn-id: http://code.elgg.org/elgg/trunk@9176 36083f99-b078-4883-b0ff-0f9b5a30f544
  • Loading branch information...
commit 342b1184a70f7729d75c52d472a8d3652156f5e6 1 parent 0e39eac
Cash Costello authored June 11, 2011
3  index.php
@@ -26,9 +26,6 @@
26 26
 $content = elgg_view_title(elgg_echo('content:latest'));
27 27
 $content .= elgg_list_river();
28 28
 
29  
-global $autofeed;
30  
-$autofeed = FALSE;
31  
-
32 29
 $login_box = elgg_view('core/account/login_box');
33 30
 
34 31
 $params = array(
4  mod/custom_index/index.php
@@ -60,4 +60,8 @@
60 60
 );
61 61
 $body = elgg_view_layout('custom_index', $params);
62 62
 
  63
+// no RSS feed with a "widget" front page
  64
+global $autofeed;
  65
+$autofeed = FALSE;
  66
+
63 67
 echo elgg_view_page('', $body);

0 notes on commit 342b118

Please sign in to comment.
Something went wrong with that request. Please try again.