Find file
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (26 sloc) 388 Bytes
<?
#
# $Id$
#
include("include/init.php");
#
# do we have a valid cookie set?
#
if (!$cfg['user']['tsid']){
$GLOBALS['error']['badcookies'] = 1;
$smarty->display("page_checkcookie.txt");
exit;
}
#
# where shall we bounce to?
#
$redir = "/";
if ($alt_redir = get_str("redir")){
$redir = $alt_redir;
}
#
# go!
#
header("location: {$redir}");
exit;
?>