Skip to content

App\Config\Routes loaded twice #2203

@maddrid

Description

@maddrid

Describe the bug
App\Config\Routes file is loaded twice

CodeIgniter 4 version
All -Latest

Affected class
RouteCollection.
Codeigniter
Codeigniter->run () ---> handleRequest() --->tryToRouteIt () = require APPPATH .'Config/Routes.php';

** steps to reproduce **
Add a function to App\Config\Routes file

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