21 lines
No EOL
290 B
PHP
21 lines
No EOL
290 B
PHP
<?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);
|
|
|
|
//out
|
|
exit();
|
|
|
|
?>
|