Welcome Guest, Not a member yet? Register   Sign In
Unable to load the requested class: Url

(01-26-2021, 03:01 AM)Chivinsdev Wrote: I am not sure if codeigniter have a class called url. If you want to use the url helper in codeigniter 4 use helper('url') and in codeigniter 3 use in your controller $this->load->helper('url') and in your liberay use $this->ci->load->helper('url').

If you want to work with the codeigniter 4 url class as you said, just use

PHP Code:
$uri = \Config\Services::request()->uri

I think this will help you work with the usrl class or functions
Thank you for your help.

Messages In This Thread
RE: Unable to load the requested class: Url - by chanthy - 02-14-2021, 11:03 PM

Theme © iAndrew 2016 - Forum software by © MyBB