codeigniter 4 base_url 1

codeigniter 4 base_url

$this->load->helper('url');
redirect('/account/login', 'refresh');

Here is what the above code is Doing:
1. Load the URL helper
2. Redirect to the login page

Similar Posts