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

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
Reply


Messages In This Thread
RE: Unable to load the requested class: Url - by Chivinsdev - 01-26-2021, 03:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB