10 lines
184 B
PHP
10 lines
184 B
PHP
|
<?php
|
||
|
$headers = apache_request_headers();
|
||
|
$is_mobile = $headers['is_mobile'];
|
||
|
if($is_mobile == "true"){
|
||
|
header('Location: /mobile.html');
|
||
|
}else{
|
||
|
header('Location: /index.html');
|
||
|
}
|
||
|
?>
|