Okera

The Way

/* // If site url does not include any extra paths, e.g '/category/tracks' $isRoot = (count(array_filter(explode('/',trim($_SERVER['REQUEST_URI'],'/')))) == 0); // If were not entering from another tdr page $isNotInternal = (strpos($_SERVER['HTTP_REFERER'], "trapdoorrecords.com") === false); // Show splash if not internal link and pointed at root if($isNotInternal && $isRoot) { require("splash.php"); } else { /* } */ */