Welcome Guest, Not a member yet? Register   Sign In
Is this a bug or design choice?
#1

versions: ci4 4.04 and ci4 4.x latest develop branch.

file: app/config/app.php
PHP Code:
public $indexPage 'index.php'

Url that I'm currently in:
Code:
http://localhost:8080/index.php/books/add

when I try to echo current_url() in the view file. its returns,

Code:
http://localhost:8080/books/add

See! there is no index.php part in the URL. 

I think this is a bug. this method should return url with the index.php part.

In CI3 this was the default behaviour.
Reply


Messages In This Thread
Is this a bug or design choice? - by MrWhite - 01-13-2021, 09:36 PM
RE: Is this a bug or design choice? - by MrWhite - 01-15-2021, 05:18 AM
RE: Is this a bug or design choice? - by demyr - 01-15-2021, 01:12 PM
RE: Is this a bug or design choice? - by MrWhite - 01-15-2021, 07:16 PM
RE: Is this a bug or design choice? - by demyr - 01-16-2021, 01:02 AM
RE: Is this a bug or design choice? - by MrWhite - 01-16-2021, 01:15 AM
RE: Is this a bug or design choice? - by demyr - 01-16-2021, 03:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB