Unable to load the requested class: Url |
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 (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').Thank you for your help. |
Welcome Guest, Not a member yet? Register Sign In |