diff options
Diffstat (limited to 'src/web/_controller/apps/home.php')
-rw-r--r-- | src/web/_controller/apps/home.php | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/web/_controller/apps/home.php b/src/web/_controller/apps/home.php deleted file mode 100644 index c9a116d..0000000 --- a/src/web/_controller/apps/home.php +++ /dev/null @@ -1,26 +0,0 @@ -<?php /* Copyright (c) 2024 Freya Murphy */ -class Home_controller extends Controller { - - // the home model - private $home_model; - - // the post controller - protected $post_controller; - - function __construct($load) { - parent::__construct($load); - $this->home_model = $this->load->model('apps/home'); - $this->post_controller = $this->load->controller('_util/post'); - } - - public function index(): void { - parent::index(); - $data = $this->home_model->get_data(); - $this->view('header', $data); - $this->view('apps/home/main', $data); - $this->view('footer', $data); - } - -} - -?> |