From a921ddb63036b37e1530aff2a64632975f0e1283 Mon Sep 17 00:00:00 2001 From: RameshT Date: Wed, 7 Aug 2024 14:58:43 +0530 Subject: [PATCH] Test Husky pre-commit hook. --- application/controllers/Form.php | 3 ++- application/controllers/Welcome.php | 14 ++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/application/controllers/Form.php b/application/controllers/Form.php index ef4c879..68c9a9a 100644 --- a/application/controllers/Form.php +++ b/application/controllers/Form.php @@ -3,7 +3,8 @@ namespace application\controllers; defined('BASEPATH') or exit('No direct script access allowed'); -use application\models\Form_model; + +// use application\models\Form_model; class Form extends CI_Controller { diff --git a/application/controllers/Welcome.php b/application/controllers/Welcome.php index 1faa7a5..6d7090f 100644 --- a/application/controllers/Welcome.php +++ b/application/controllers/Welcome.php @@ -1,10 +1,12 @@ load->view('welcome_message'); - } +defined('BASEPATH') or exit('No direct script access allowed'); +class Welcome extends CI_Controller +{ + public function index() + { + $this->load->view('welcome_message'); + } }