CodeIgniter Forums
Controller loading its functions directly on URL - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Controller loading its functions directly on URL (/showthread.php?tid=58317)



Controller loading its functions directly on URL - El Forum - 06-02-2013

[eluser]frederico[/eluser]
Hello,

I am using code igniter 2.1.0. i have added if (!defined('BASEPATH')) exit('Restricted access'); on top of the controller page but it still running the functions directly.