Welcome Guest, Not a member yet? Register   Sign In
Where to put this code
#2

It's hard to tell without knowing what this code do. But assuming that the require_once only load functions and doesn't output anything to the browser, you should put part 1 in your login controller, and part 2 and 3 in your login view.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply


Messages In This Thread
Where to put this code - by ronniebel - 08-20-2019, 08:37 AM
RE: Where to put this code - by includebeer - 08-20-2019, 09:54 AM
RE: Where to put this code - by Wouter60 - 08-20-2019, 10:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB