Welcome Guest, Not a member yet? Register   Sign In
Url functions includes index.php in CI 4.2.1
#1

(This post was last modified: 08-03-2022, 11:31 PM by jetspeed.)

Hi guys,

I noticed another thing with the update from CI 4.1.9 to 4.2.1.

Functions which return a URL (e.g. anchor(), current_url()) will result in the url being appended with index.php.

For example:

PHP Code:
echo anchor('subdir''link'); 

Will produce

PHP Code:
<a href="https://mysite.url/public/index.php/subdir">link</a

Is there any setting to remove index.php from the url? This behaviour was not there in CI 4.1.9.
Reply


Messages In This Thread
Url functions includes index.php in CI 4.2.1 - by jetspeed - 08-03-2022, 11:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB