diff options
Diffstat (limited to 'src/web/_controller/home.php')
-rw-r--r-- | src/web/_controller/home.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/web/_controller/home.php b/src/web/_controller/home.php index 12dff64..a673e60 100644 --- a/src/web/_controller/home.php +++ b/src/web/_controller/home.php @@ -1,12 +1,11 @@ <?php /* Copyright (c) 2024 Freya Murphy */ class Home_controller extends Controller { - function __construct($load) { - parent::__construct($load); - } - public function index(): void { + public function index(): void + { parent::index(); - $data = $this->main->get_data(); + + $data = Model::get_base_data(); $this->view('header', $data); $this->view('apps/home', $data); $this->view('footer', $data); |