Got rid of dependancies on mobileDetect (which was removed a while ago)
This commit is contained in:
12
head.php
12
head.php
@@ -1,17 +1,7 @@
|
|||||||
<?php
|
|
||||||
require '../res/mobiledetect.php';
|
|
||||||
$detect = new Mobile_Detect;
|
|
||||||
$check = $detect->isMobile();
|
|
||||||
if($check){
|
|
||||||
$css = "mobile.css";
|
|
||||||
} else{
|
|
||||||
$css = "index.css";
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Rubiks My Cube | <?php echo $t; ?></title>
|
<title>Rubiks My Cube | <?php echo $t; ?></title>
|
||||||
<link rel="icon" href="favicon.ico" type="image/x-icon">
|
<link rel="icon" href="favicon.ico" type="image/x-icon">
|
||||||
<link rel="stylesheet" href="<?php echo $css; ?>">
|
<link rel="stylesheet" href=index.css>
|
||||||
<link href="https://fonts.googleapis.com/css?family=Cutive+Mono|PT+Sans|Share+Tech+Mono|Yantramanav:300" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Cutive+Mono|PT+Sans|Share+Tech+Mono|Yantramanav:300" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
Reference in New Issue
Block a user