X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=songbook%2Fweb%2Fsongbook.php;h=54d5fea92878848f4e9bd8de482809a77540c8e5;hb=554f9d46f2dc3914559c8eb1548ee951e4b9e3a3;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 "