summaryrefslogtreecommitdiff
path: root/includes/template_end.php
diff options
context:
space:
mode:
authorJonas Kohl2024-09-06 14:38:26 +0200
committerJonas Kohl2024-09-06 14:38:26 +0200
commit0540e04c77864186ce48193456634b897a11f5aa (patch)
tree92607cc903a9b0dc482ca14f3d33ab9c3707d78c /includes/template_end.php
parent2d8a37e7ac46aa100f2e460b024d21bae2883f5b (diff)
Add mobile version
Diffstat (limited to 'includes/template_end.php')
-rw-r--r--includes/template_end.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/includes/template_end.php b/includes/template_end.php
index 308b1d0..64b5931 100644
--- a/includes/template_end.php
+++ b/includes/template_end.php
@@ -1,2 +1,5 @@
-</body>
-</html>
+<?php
+
+$__mobile = include __DIR__ . "/mobile-detect.php";
+
+include __DIR__ . "/" . ($__mobile ? "mobile" : "desktop") . "/template_end.php";