isMobile() ) { if($detect->isiOS()){ $redirect_to = $redirect_url_ios; }elseif($detect->isAndroidOS()){ $redirect_to = $redirect_url_android; }elseif($detect->isWindowsMobileOS() || $detect->isWindowsPhoneOS()){ $redirect_to = $redirect_url_windows; } } ?>