Prevent direct access to any PHP files on codeigniter
I have built a site with codeigniter 3. I want to prevent run all php files directly. imagine that I have a file named test.php in my root. When the user goes to a site.com/test.php , it is not possible…