Posts: 11
Threads: 4
Joined: Sep 2019
Reputation:
0
How to prevent loading Controller without Route?
Posts: 4,584
Threads: 106
Joined: Oct 2014
Reputation:
146
You can make the controller method private, did you try to make the method private?
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Posts: 78
Threads: 15
Joined: Jun 2016
Reputation:
0
you can setup on your config/Route.php
setAutoRoute(false)