Test Husky pre-commit hook.

This commit is contained in:
RameshT 2024-08-05 11:28:57 +05:30
parent e2afbaade8
commit 589dbc74ab
1 changed files with 4 additions and 2 deletions

View File

@ -10,8 +10,10 @@ class Form extends CI_Controller
{ {
public function __construct() public function __construct()
{ {
parent::__construct();$this->load->model('Form_model') parent::__construct();
}public function submit() $this->load->model('Form_model')
}
public function submit()
{ {
if (!$this->session->userdata('logged_in')) { if (!$this->session->userdata('logged_in')) {
// If not logged in, redirect to login page // If not logged in, redirect to login page