more relatives

This commit is contained in:
Kasper Rynning-Tønnesen
2017-03-14 23:21:33 +01:00
parent 3b27913da3
commit d1f0dd3323

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<?php
$guid=substr(base64_encode(crc32($_SERVER['HTTP_USER_AGENT'].$_SERVER['REMOTE_ADDR'].$_SERVER['HTTP_ACCEPT_LANGUAGE'])), 0, 8);
if(isset($_GET['__mref'])) {header('Location: /'); exit;}
if(isset($_GET['__mref']) || isset($_GET['fb_source']) || isset($_GET['ref']) || isset($_GET['fref'])) {header('Location: /'); exit;}
else if(isset($_GET['chan'])) {header('Location: '.$_GET['chan']); exit;}
$list = explode("/", htmlspecialchars(strtolower($_SERVER["REQUEST_URI"])));
if($list[1]==""||!isset($list[1])||count($list)<=1){$list="";include('public/php/frontpage.php');die();}