Athentication classes |
Hi, how are you? I will try to explain my problem in english, sorry if not good.
I am upgrading codeigniter to version 4.0 from 3.0, and I face the following problem: On codeigniter 3 I have an authentication class: PHP Code: <?php That class was in /application/core/ directory so the classes that I have in my controllers directory extends from Common_Auth_Controller to check if the user is logged or not. But, now in codeigniter 4 I don't have the core directory, I would like to know in which directory I could create the class Common_Auth_Controller Thanks, Manuel
Any directory if you follow the PSR-4 rules.
https://www.php-fig.org/psr/psr-4/ But many people would use app/Controllers/. |
Welcome Guest, Not a member yet? Register Sign In |