summaryrefslogtreecommitdiffstats
path: root/lib/class/xmldata.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-21 07:07:34 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-21 07:07:34 +0000
commit068b2cbbb33afcab2e6ee41501fa90a85f52f367 (patch)
tree72df9028eb7e5bf37f09d76846238aa9853554c6 /lib/class/xmldata.class.php
parent8d914e47c9ecb0c99f63ba50936a09e2184eaf84 (diff)
downloadampache-068b2cbbb33afcab2e6ee41501fa90a85f52f367.tar.gz
ampache-068b2cbbb33afcab2e6ee41501fa90a85f52f367.tar.bz2
ampache-068b2cbbb33afcab2e6ee41501fa90a85f52f367.zip
tweak to make the image.php file work with API auth, and corrected URLs
Diffstat (limited to 'lib/class/xmldata.class.php')
-rw-r--r--lib/class/xmldata.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/xmldata.class.php b/lib/class/xmldata.class.php
index d63d9bfc..129c2240 100644
--- a/lib/class/xmldata.class.php
+++ b/lib/class/xmldata.class.php
@@ -105,8 +105,8 @@ class xmlData {
$album = new Album($album_id);
$album->format();
- // Build the Art URL
- $art_url = Config::get('web_path') . '/image.php?id=' . $album->id;
+ // Build the Art URL, include session
+ $art_url = Config::get('web_path') . '/image.php?id=' . $album->id . '&auth=' . scrub_out($_REQUEST['auth']);
$string .= "<album id=\"$album->id\">\n" .
"\t<name><![CDATA[$album->name]]></name>\n";