summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.php (renamed from index.html)9
1 files changed, 9 insertions, 0 deletions
diff --git a/index.html b/index.php
index 8963144..8a9bbfd 100644
--- a/index.html
+++ b/index.php
@@ -1,3 +1,12 @@
+<?php
+
+$__mobile = include __DIR__ . "/includes/mobile-detect.php";
+if ($__mobile) {
+ header("Location: site.php");
+ exit;
+}
+
+?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>