![]() |
Autoroutin break after upgrade to 4.6 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: Autoroutin break after upgrade to 4.6 (/showthread.php?tid=92495) |
Autoroutin break after upgrade to 4.6 - abmcr - 02-21-2025 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 RE: Autoroutin break after upgrade to 4.6 - michalsn - 02-21-2025 Config\Feature::$autoRoutesImproved is now enabled by default: https://codeigniter.com/user_guide/installation/upgrade_460.html#config Disable it, and it should work as before. RE: Autoroutin break after upgrade to 4.6 - abmcr - 02-21-2025 Thank you; alla work fine now |