]> git.sesse.net Git - ccbs/blobdiff - html/ccbs.pm
Allow a mix of long and short names in the display of the chosen songs.
[ccbs] / html / ccbs.pm
index 915e9507f1ffa99f24924c8020db2a496eb589b2..21a19a80216fd4a5246d5975db7ccacdf292961b 100755 (executable)
@@ -9,7 +9,7 @@ use warnings;
 our $ccbs_dbdebug = 0;
        
 sub print_header {
-       print CGI::header(-type=>'application/xhtml+xml; charset=utf-8');
+       print CGI::header(-type=>'text/html; charset=utf-8');
 }
 sub print_see_other {
        my $location = shift;
@@ -22,7 +22,7 @@ sub print_see_other {
 sub db_connect {
        $ccbs_dbdebug = defined(shift) ? 1 : 0;
 
-       my $dbh = DBI->connect("dbi:Pg:dbname=ccbs;host=sql.samfundet.no", "ccbs", "GeT|>>B_")
+       my $dbh = DBI->connect("dbi:Pg:dbname=ccbs;host=altersex.samfundet.no", "ccbs", "GeT|>>B_")
                or die "Couldn't connect to database";
        $dbh->{RaiseError} = 1;
        return $dbh;