Welcome Guest, Not a member yet? Register   Sign In
Moving to ci4
#7

(This post was last modified: 06-20-2023, 03:21 PM by richb201.)

Thanks. With some help I managed to get ci4 and a debugger running under phpstorm. I am going to try to roughly get my ci3 app running under ci4. My app uses GroceryCrud heavily.

My main controller called Configure.php starts with __construct() where I load up a few helpers and libraries, get the results of authentication from Okta, run _init() which set up session variables and finally index().

My question is where do I do the initialization/sessionSetup/authetication now? Do I do this in the BaseController?

(06-20-2023, 03:20 PM)richb201 Wrote: Thanks. With some help I managed to get ci4 and a debugger running under phpstorm. I am going to try to roughly get my ci3 app running under ci4. My app uses GroceryCrud heavily.

Under ci3 my main controller called Configure.php starts with __construct() where I load up a few helpers and libraries, get the results of authentication from Okta, run _init() which set up session variables and finally index().

My question is where do I do the initialization/sessionSetup/authetication now? Do I do this in the BaseController?
proof that an old dog can learn new tricks
Reply


Messages In This Thread
Moving to ci4 - by richb201 - 06-17-2023, 07:50 AM
RE: Moving to ci4 - by iRedds - 06-17-2023, 08:03 AM
RE: Moving to ci4 - by richb201 - 06-17-2023, 09:10 AM
RE: Moving to ci4 - by iRedds - 06-17-2023, 11:01 AM
RE: Moving to ci4 - by kenjis - 06-17-2023, 02:10 PM
RE: Moving to ci4 - by InsiteFX - 06-17-2023, 11:02 PM
RE: Moving to ci4 - by richb201 - 06-20-2023, 03:20 PM
RE: Moving to ci4 - by InsiteFX - 06-20-2023, 11:02 PM
RE: Moving to ci4 - by richb201 - 06-21-2023, 04:45 AM
RE: Moving to ci4 - by kenjis - 06-21-2023, 04:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB