summaryrefslogtreecommitdiffstats
path: root/song.php
diff options
context:
space:
mode:
authormomo-i <momo-i@ampache>2009-02-24 04:18:33 +0000
committermomo-i <momo-i@ampache>2009-02-24 04:18:33 +0000
commit14ef5361513ebf5a9d8086f17d098ab76e545d14 (patch)
treee1106f28f92796b61c7995f2fd4eeb4f4d7e0331 /song.php
parentef2a0a794d0065126f65ed6dbdfcbf6d39b9db66 (diff)
downloadampache-14ef5361513ebf5a9d8086f17d098ab76e545d14.tar.gz
ampache-14ef5361513ebf5a9d8086f17d098ab76e545d14.tar.bz2
ampache-14ef5361513ebf5a9d8086f17d098ab76e545d14.zip
Add: song_lyrics to Ampache #327 (thx alister55)
Diffstat (limited to 'song.php')
-rw-r--r--song.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/song.php b/song.php
index 55e77eb6..ed070c8f 100644
--- a/song.php
+++ b/song.php
@@ -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