Skip to content

Bug: Helpers at non-default locations are not found #3026

Description

@JanZelenka

I have a namespace: App\Libraries\FileMaker
at a corresponding location on the disc.
I also have a subfolder Helpers at that location with the file filemaker_helper.php in it.

According to the documentation the correct way to load this helper is: helper('App\Library\FileMaker\filemaker').
Unfortunatelly that doesn't work. The autoloader stops searching through the namespace segments once it matches the first one with the App namespace and attaches the Helpers segment followed by the rest of the namespace:
...app\Helpers\Library\FileMaker\filemaker_helper.php

Version: 4.0.3.
Affected module: Custom Helpers

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