Skip to content

helper function uses include instead of include_once #575

Description

@daylightstudio

I'm finding that I may need to include a reference to some helpers in multiple areas of the code which will result in the helper file being included twice. The second time, it essentially is ignored because of the conditional check wrapping the helper functions but the file is still being included. Should this be changed to include_once? This is the line I'm referring to.
https://github.com/bcit-ci/CodeIgniter4/blob/develop/system/Common.php#L541

Thanks for all your efforts.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions