Welcome Guest, Not a member yet? Register   Sign In
Autoroutin break after upgrade to 4.6
#1

I have updatet CI on an existing installation but now the line

/**
    * If TRUE, the system will attempt to match the URI against
    * Controllers by matching each segment against folders/files
    * in APPPATH/Controllers, when a match wasn't found against
    * defined routes.
    *
    * If FALSE, will stop searching and do NO automatic routing.
    */
    public bool $autoRoute = true;

in the App->config->routing.php
don't work....

Because this is an update i need to autoconfig work

Thank you
Reply
#2

Config\Feature::$autoRoutesImproved is now enabled by default: https://codeigniter.com/user_guide/insta...tml#config

Disable it, and it should work as before.
Reply
#3

Thank you; alla work fine now
Reply




Theme © iAndrew 2016 - Forum software by © MyBB