aboutsummaryrefslogtreecommitdiffstats
path: root/feed.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2010-05-28 19:55:03 +0000
committerrvelices <rv-github@modusoptimus.com>2010-05-28 19:55:03 +0000
commit1b90ca176434d9e57b8be750216eb637b4685b47 (patch)
tree2ad024e45e0bf98f7d0f545e06081b8ba5df82d2 /feed.php
parentf0d6ec33ce231f77077ba6535ca8312286f9a40b (diff)
- merged the linkroot integration with the existing gallery_url (unique $conf['gallery_url'] used for RSS, mail homepage root in the browse path)
- added an option $conf['debug_mail'] - if set all outgoing mails are saved into local_data_dir git-svn-id: http://piwigo.org/svn/branches/2.1@6410 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'feed.php')
-rw-r--r--feed.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/feed.php b/feed.php
index cfebc8352..642682353 100644
--- a/feed.php
+++ b/feed.php
@@ -110,7 +110,7 @@ $rss->encoding=get_pwg_charset();
$rss->title = $conf['gallery_title'];
$rss->title.= ' (as '.stripslashes($user['username']).')';
-$rss->link = $conf['gallery_url'];
+$rss->link = get_gallery_home_url();
// +-----------------------------------------------------------------------+
// | Feed creation |
@@ -125,7 +125,7 @@ if (!$image_only)
{
$item = new FeedItem();
$item->title = sprintf(l10n('New on %s'), format_date($dbnow) );
- $item->link = $conf['gallery_url'];
+ $item->link = get_gallery_home_url();
// content creation
$item->description = '<ul>';