diff options
author | Jonas Kohl | 2024-09-06 22:58:09 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-06 22:58:09 +0200 |
commit | 661c9edfa2c3b1bb4d752a9e26a97eb8da98bb27 (patch) | |
tree | f6f9e8bb2007781aff25459a20e7efd23568fac9 | |
parent | 9ab1b5cc52d020bc22994756fe9238bfe4038b0e (diff) |
Skip intro page if on mobile
-rw-r--r-- | index.php (renamed from index.html) | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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> |