summaryrefslogtreecommitdiff
path: root/includes/template_end.php
diff options
context:
space:
mode:
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";