]> git.sesse.net Git - ccbs/blobdiff - html/ccbs.pm
Various changes and fixes for CC1.
[ccbs] / html / ccbs.pm
index 61dadf8f529e31638989b8794441509216582292..f5deadab8e9c0a28ad1548eb07d04457a86f0c42 100755 (executable)
@@ -25,14 +25,14 @@ sub print_see_other {
        my $location = shift;
 
        print CGI::header(-status=>'303 See other',
-                         -location=>'http://ccbs.sesse.net/' . $location,
+                         -location=>'http://192.168.1.200/' . $location,
                          -type=>'text/html; charset=utf-8');
 }
 
 sub db_connect {
        $ccbs_dbdebug = defined(shift) ? 1 : 0;
 
-       my $dbh = DBI->connect("dbi:Pg:dbname=ccbs;host=altersex.samfundet.no", "ccbs", "GeT|>>B_")
+       my $dbh = DBI->connect("dbi:Pg:dbname=ccbs;host=www.positivegaming.com", "ccbs", "GeT|>>B_")
                or die "Couldn't connect to database";
        $dbh->{RaiseError} = 1;
        return $dbh;