2012-03-17 12:50:07 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* file used to redirect links to outer website
|
|
|
|
*/
|
|
|
|
|
|
|
|
include("includes/config.inc.php");
|
|
|
|
$link = urldecode($_GET['l']);
|
|
|
|
|
|
|
|
if(!$link)
|
|
|
|
redirect_to(BASEURL);
|
|
|
|
if(!strstr($link,'http'))
|
|
|
|
$link = "http://".$link;
|
|
|
|
|
|
|
|
|
|
|
|
redirect_to($link);
|
|
|
|
|
2012-12-19 21:06:27 +00:00
|
|
|
//out
|
2012-03-17 12:50:07 +00:00
|
|
|
exit();
|
|
|
|
|
|
|
|
?>
|