Skip to content

base_url() function doesn't work properly when it used on page with uri segments #240

Description

@ridho1991

I test it with latest CI4 code.

Example 1: http//ci4.local/test
echo base_url(); It show http//ci4.local/test (not work properly)
echo base_url('profile'); It show http//ci4.local/profile (work properly)

Example 2: http//ci4.local/test/page
echo base_url(); It show http//ci4.local/test/page (not work properly)
echo base_url('profile'); It show http//ci4.local/test/profile (no work properly)

That's it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix them

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions