telaen-webmail-php/telaen/redir.php
2015-04-18 14:44:22 -04:00

18 lines
442 B
PHP

<?php
define('I_AM_TELAEN', basename($_SERVER['SCRIPT_NAME']));
exit;
require './inc/class/class.Telaen_core.php';
// very bad method to get params... the url is passed without the param name...
$url = Telaen_core::createAbsUrl($_SERVER['QUERY_STRING']);
?>
<html>
<head>
<meta http-equiv="refresh" content="0; url=<?php echo $url; ?>">
</head>
<br>
<blockquote>
<a href="<?php echo $url; ?>"><?php echo $url; ?></a>
</blockquote>
</html>