Skip to content

Commit

Permalink
Fixes #3376 added RSS feed to default index page and suppressing on c…
Browse files Browse the repository at this point in the history
…ustom index front page

git-svn-id: http://code.elgg.org/elgg/trunk@9176 36083f99-b078-4883-b0ff-0f9b5a30f544
  • Loading branch information
cash committed Jun 11, 2011
1 parent 0e39eac commit 342b118
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
$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(
Expand Down
4 changes: 4 additions & 0 deletions mod/custom_index/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,8 @@
);
$body = elgg_view_layout('custom_index', $params);

// no RSS feed with a "widget" front page
global $autofeed;
$autofeed = FALSE;

echo elgg_view_page('', $body);

0 comments on commit 342b118

Please sign in to comment.