]> git.sesse.net Git - ccbs/blobdiff - html/ccbs.pm
Stop hardcoding web roots -- make it a config variable instead.
[ccbs] / html / ccbs.pm
index 65838027c25483dd55cc7f888b56d69ccf9ecf88..1cabc29bb2b8fc9b5c07369d9400e7435eb9f751 100755 (executable)
@@ -45,7 +45,7 @@ sub print_see_other {
        my $location = shift;
 
        print CGI::header(-status=>'303 See other',
-                         -location=>'http://ccbs.sesse.net/' . $location,
+                         -location=>$ccbs::config::webroot . $location,
                          -type=>'text/html; charset=utf-8');
 }