4 our $VERSION = "1.000";
6 use vars qw(@EXPORT_OK @ISA);
9 @EXPORT_OK = qw(refresh_to refresh_to_admin);
14 #print "Content-Type: text/html\n";
15 #print qq!Refresh: 0; url=$where\n\n<html></html>\n!;
16 print "Status: 303\n";
17 print "Location: $where\n\n";
20 sub refresh_to_admin {
21 my ($cfg, $where) = @_;
24 defined $where or confess 'No url supplied';
26 unless ($where =~ /^\w+:/) {
28 my $adminbase = BSE::CfgInfo::admin_base_url($cfg);
29 $where = $adminbase . $where;