From 3a82baec9d793edf81ac2b151b0f4d4159641375 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 1 Apr 2024 11:09:25 -0400 Subject: login and register, liking on homepage --- web/_controller/apps/error.php | 20 -------------------- web/_controller/apps/home.php | 25 ------------------------- 2 files changed, 45 deletions(-) delete mode 100644 web/_controller/apps/error.php delete mode 100644 web/_controller/apps/home.php (limited to 'web/_controller/apps') diff --git a/web/_controller/apps/error.php b/web/_controller/apps/error.php deleted file mode 100644 index 5ce9ec4..0000000 --- a/web/_controller/apps/error.php +++ /dev/null @@ -1,20 +0,0 @@ -error_model = $this->load->model('apps/error'); - } - - public function index() { - parent::index(); - $data = $this->error_model->get_data(); - $this->view('header', $data); - $this->view('apps/error/main', $data); - } - -} - -?> diff --git a/web/_controller/apps/home.php b/web/_controller/apps/home.php deleted file mode 100644 index edf7e2b..0000000 --- a/web/_controller/apps/home.php +++ /dev/null @@ -1,25 +0,0 @@ -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); - } - -} - -?> -- cgit v1.2.3-freya