CodeIgniter Forums

Full Version: How to prevent loading Controller without Route?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to prevent loading Controller without Route?
You can make the controller method private, did you try to make the method private?
you can setup on your config/Route.php
setAutoRoute(false)
(10-19-2019, 06:32 PM)titounnes Wrote: [ -> ]you can setup on your config/Route.php
setAutoRoute(false)

Thanks