url_is bug |
![]() (This post was last modified: 11-30-2021, 09:24 PM by mjamilasfihani. Edit Reason: I change the subject, because this is bug )
hi all! I just tried to use url_is function like this :
Code: echo url_is('page?new=hello') ? 'active' : ''; and it doesn't work, as I want. I use CI 4.1.4, am I late information, or it's out of scope?
page?new=hello is not a URI in this context.
page is a URI.
For example,
PHP Code: $uri = $this->request->getUri(); |
Welcome Guest, Not a member yet? Register Sign In |