summaryrefslogtreecommitdiff
path: root/www/mserv-php/patches/patch-ab
blob: 88f815c0064514a96d0d501072ce9368f5c5bce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
$NetBSD: patch-ab,v 1.1.1.1 2009/12/15 16:17:44 abs Exp $

--- config.php.orig	2002-05-27 08:32:52.000000000 +0000
+++ config.php
@@ -1,10 +1,10 @@
 <?PHP // config.php
 
    // Your descriptive name for this server
-   $sitename  = "Home Music Server";
+   $sitename  = "Mserv";
 
    // Full path to "mservcmd" binary on your system
-   $mservcmd = "/opt/bin/mservcmd";
+   $mservcmd = "@PREFIX@/bin/mservcmd";
 
    // Interface colors
    $bgcolor    = "#990000";
@@ -14,14 +14,14 @@
 
    // Filter Menu
    $filters = array (
-       "Martin's Unheard" => "!(martin=heard)",
-       "Martin's Best" => "!(martin=awful|martin=bad|martin=neutral)",
-       "Sarah's Best" => "sarah=good|sarah=superb",
-       "Martin + Sarah" => "(sarah=superb|sarah=good)&(martin=superb|martin=good)",
-       "Electronic" => "electronic=good|electronic=superb",
-       "Smooth" => "smooth=good|smooth=superb",
-       "Groovy" => "groovy=good|groovy=superb",
-       "Quiet" => "quiet=good|quiet=superb"
+       # "Martin's Unheard" => "!(martin=heard)",
+       # "Martin's Best" => "!(martin=awful|martin=bad|martin=neutral)",
+       # "Sarah's Best" => "sarah=good|sarah=superb",
+       # "Martin + Sarah" => "(sarah=superb|sarah=good)&(martin=superb|martin=good)",
+       # "Electronic" => "electronic=good|electronic=superb",
+       # "Smooth" => "smooth=good|smooth=superb",
+       # "Groovy" => "groovy=good|groovy=superb",
+       # "Quiet" => "quiet=good|quiet=superb"
        );