summaryrefslogtreecommitdiff
path: root/src/web/_controller/home.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/_controller/home.php')
-rw-r--r--src/web/_controller/home.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/web/_controller/home.php b/src/web/_controller/home.php
new file mode 100644
index 0000000..12dff64
--- /dev/null
+++ b/src/web/_controller/home.php
@@ -0,0 +1,17 @@
+<?php /* Copyright (c) 2024 Freya Murphy */
+class Home_controller extends Controller {
+ function __construct($load) {
+ parent::__construct($load);
+ }
+
+ public function index(): void {
+ parent::index();
+ $data = $this->main->get_data();
+ $this->view('header', $data);
+ $this->view('apps/home', $data);
+ $this->view('footer', $data);
+ }
+
+}
+
+?>