diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-04-19 19:18:48 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-04-19 19:18:48 +0000 |
commit | 6a8795b049a7566350efb369f4990f4f8189c9f1 (patch) | |
tree | 255b12a6d5f2acb61c6c1189702079fd88b6ef53 /templates/show_songs.inc | |
parent | ac62e1a07458facafd255a5e24344e9f60ef38f3 (diff) | |
download | ampache-6a8795b049a7566350efb369f4990f4f8189c9f1.tar.gz ampache-6a8795b049a7566350efb369f4990f4f8189c9f1.tar.bz2 ampache-6a8795b049a7566350efb369f4990f4f8189c9f1.zip |
no longer passes the sid with the urls if require_session is turned off
Diffstat (limited to 'templates/show_songs.inc')
-rw-r--r-- | templates/show_songs.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_songs.inc b/templates/show_songs.inc index e01b8a20..4ab38820 100644 --- a/templates/show_songs.inc +++ b/templates/show_songs.inc @@ -131,7 +131,7 @@ foreach ($song_ids as $song_id) { | <a href="<?php echo $web_path; ?>/download/index.php?action=download&song_id=<?php echo $song->id; ?>&sid=<?php echo scrub_out(session_id()); ?>&fn=<?php echo rawurlencode($song->f_artist_full . " - " . $song->title . "." . $song->type); ?>"><?php echo _('Download'); ?></a> <?php } ?> <?php if ($GLOBALS['user']->prefs['direct_link']) { ?> - | <a href="<?php echo $web_path; ?>/play/index.php?song=<?php echo $song->id; ?>&uid=<?php echo $GLOBALS['user']->username . "&sid=" . scrub_out(session_id()); ?>&fn=<?php echo rawurlencode($song->f_artist_full . " - " . $song->title . "." . $song->type); ?>"><?php echo _('Direct Link'); ?></a> + | <a href="<?php echo $song->get_url(); ?>"><?php echo _('Direct Link'); ?></a> <?php } ?> </td> <?php if(conf('ratings')) { ?> |