Commit 8f15498f authored by Dries's avatar Dries

- Partial patch #8284 by jseng: made the RSS auto-discovery URL absolute even...

- Partial patch #8284 by jseng: made the RSS auto-discovery URL absolute even though that is not strictly necessary.
parent 28be8dfe
......@@ -1495,7 +1495,7 @@ function node_page_default() {
$result = pager_query('SELECT nid, type FROM {node} WHERE promote = 1 AND status = 1 ORDER BY static DESC, created DESC', variable_get('default_nodes_main', 10));
if (db_num_rows($result)) {
drupal_set_html_head('<link rel="alternate" type="application/rss+xml" title="RSS" href="'. url('node/feed') .'" />');
drupal_set_html_head('<link rel="alternate" type="application/rss+xml" title="RSS" href="'. url('node/feed', NULL, NULL, TRUE) .'" />');
$output = '';
while ($node = db_fetch_object($result)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment