How can I redirect in Controller? |
I have the same problem on CI v4.0.0rc3.
My .env file is configured as follow. Code: app.baseURL = 'http://localhost/path/' My controller calls the following function. PHP Code: return redirect()->to('catalog'); I'm redirected to http://localhost/catalog instead of http://localhost/path/catalog. How do I fix it? Thanks. |
Messages In This Thread |
How can I redirect in Controller? - by iceleo - 01-25-2018, 02:04 AM
RE: How can I redirect in Controller? - by jreklund - 01-25-2018, 03:10 AM
RE: How can I redirect in Controller? - by iceleo - 01-25-2018, 06:25 AM
RE: How can I redirect in Controller? - by kilishan - 01-25-2018, 07:16 AM
RE: How can I redirect in Controller? - by iceleo - 01-25-2018, 08:30 AM
RE: How can I redirect in Controller? - by jreklund - 01-25-2018, 02:34 PM
RE: How can I redirect in Controller? - by RobT - 10-30-2019, 04:54 AM
|