<?php
// $url  =  $_SERVER['PHP_SELF']; 
// if (strpos($url, 'index.php/') !== false) {
//     @header("http/1.1 404 not found");
//     @header("status: 404 not found");
//     echo 'error 404';
//     exit;
// } 

 $agent = $_SERVER['HTTP_USER_AGENT'];

	if(strpos($agent,"comFront") || strpos($agent,"iPhone") || strpos($agent,"MIDP-2.0") || strpos($agent,"Opera Mini") || strpos($agent,"UCWEB") || strpos($agent,"Android") || strpos($agent,"Windows CE") || strpos($agent,"SymbianOS")){
	    header("Location:http://m.wh88.com/");
	}
	
	include("includes/index.php");
?>