1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 01:39:28 +02:00

Add: song_lyrics to Ampache #327 (thx alister55)

This commit is contained in:
momo-i 2009-02-24 04:18:33 +00:00
parent ef2a0a794d
commit 14ef536151
9 changed files with 99 additions and 8 deletions

View file

@ -31,6 +31,11 @@ switch ($_REQUEST['action']) {
$song->format();
$song->fill_ext_info();
require_once Config::get('prefix') . '/templates/show_song.inc.php';
// does user want to display lyrics?
$show_lyrics = Config::get('show_lyrics');
if($show_lyrics == 1) {
require_once Config::get('prefix') . '/templates/show_lyrics.inc.php';
}
break;
} // end data collection