Index: trunk/extensions/Score/Score.php |
— | — | @@ -46,9 +46,13 @@ |
47 | 47 | * Default is $wgUseImageMagick and set in efScoreExtension */ |
48 | 48 | $wgScoreTrim = null; |
49 | 49 | /* Path of lilypond executable */ |
50 | | -$wgLilyPond = '/usr/bin/lilypond'; |
| 50 | +if ( !isset( $wgLilyPond ) ) { |
| 51 | + $wgLilyPond = '/usr/bin/lilypond'; |
| 52 | +} |
51 | 53 | /* Path to converter from ABC */ |
52 | | -$wgAbc2Ly = '/usr/bin/abc2ly'; |
| 54 | +if ( !isset( $wgAbc2Ly ) ) { |
| 55 | + $wgAbc2Ly = '/usr/bin/abc2ly'; |
| 56 | +} |
53 | 57 | |
54 | 58 | /* |
55 | 59 | * Extension credits |