X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=songbook%2Fweb%2Fsongbook.php;h=54d5fea92878848f4e9bd8de482809a77540c8e5;hb=64cb05c445d480f29d266e70db6eb1d021d34456;hp=f66bcdb33cf6f4e48a1356dc7211ba3195d3ae57;hpb=bd4eff5baa973d301316560e3734d87aa025659b;p=clearscm.git diff --git a/songbook/web/songbook.php b/songbook/web/songbook.php index f66bcdb..54d5fea 100644 --- a/songbook/web/songbook.php +++ b/songbook/web/songbook.php @@ -5,16 +5,16 @@ $songs = glob (dirname($baseDir) . "/Songs/*.pro"); function getSongs () { global $songs; - $path = $baseDir . "../Songs/*.pro"; + $path = "/opt/clearscm/songbook/Songs"; // Why didn't the previous one execute correctly? - $songs = glob($baseDir . '../Songs/*.pro'); + $songs = glob("$path/*.pro"); } // getSongs function songsDropdown () { global $songs; - print "
"; + print ""; print "Songs:  "; print ""; @@ -40,7 +40,7 @@ function artistsDropdown () { $artists = getArtists ($songs); - print ""; + print ""; print "Artists:  "; print "