<?php
require_once 'mobile-detect/Mobile_Detect.php';
$detect = new Mobile_Detect;

$url = 'https://draisinerally.com/#download';
if ($detect->isiOS()) {
	$url = 'https://itunes.apple.com/app/id1175735764';
} else if ($detect->isAndroidOS()) {
	$url = 'https://play.google.com/store/apps/details?id=fi.iterator.draisinerally';
}
header('Location: ' . $url);
?>
