summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2004-06-17 18:48:39 (GMT)
committerDries Buytaert2004-06-17 18:48:39 (GMT)
commit8f15498f2826cfaa94a5e43085c3761b298e5bd0 (patch)
treefb18f596a3ac91c9d9be6a12886e243fded73bbd
parent28be8dfee0effcd470fc6b8fbccdbf6eee6a467c (diff)
- Partial patch #8284 by jseng: made the RSS auto-discovery URL absolute even though that is not strictly necessary.
-rw-r--r--modules/node.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node.module b/modules/node.module
index 2c52026..cbef5e4 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -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)) {