CodeIgniter Forums
Disable certain controllers in production - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Disable certain controllers in production (/showthread.php?tid=45654)



Disable certain controllers in production - El Forum - 09-29-2011

[eluser]Unknown[/eluser]
We have some development/debug controllers that were built to assist stakeholders in testing an application prior to launch. However, for security reasons we do not want to have these accessible in production.

Is there some way in the configuration (that I haven't found yet) where we can provide an array or list to CodeIgniter to ignore in the production environment?