<?php
/*
This file is part of Thomas Bley's moregroupware webmail module. (tb-mgw-wmm)

Copyright 2002 Thomas Bley
tb-mgw-wmm is distributed under the terms of the GNU General Public License 

tb-mgw-wmm is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

tb-mgw-wmm is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with tb-mgw-wmm; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/

// Norefer
// Moregroupware.org

error_reporting  (E_ERROR | E_WARNING | E_PARSE | E_NOTICE);

$url = trim(substr($_SERVER["QUERY_STRING"],strpos($_SERVER["QUERY_STRING"],"=")+1));
$url = rawurldecode($url);
if (!strpos($url,"://")) { $url = "http://".$url; }
header("Location: ".$url);
?>