From 068b2cbbb33afcab2e6ee41501fa90a85f52f367 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Wed, 21 Nov 2007 07:07:34 +0000 Subject: tweak to make the image.php file work with API auth, and corrected URLs --- lib/class/xmldata.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/class') 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 .= "id\">\n" . "\tname]]>\n"; -- cgit