Converting a CI3 Project to CI4.5.1 |
05-10-2024, 07:30 PM
(This post was last modified: 05-10-2024, 09:14 PM by Josh1985. Edit Reason: typo in topic )
Hello all!
I have recently sat down with the intention of converting a pretty large CI3 project into CI4. However, I have ran into a few issues that I can't seem to find in the documentation that really specifies what to do in my situation. Library Conversions: MyController.php (Custom Controller Library) PHP Code: <?php MySecurity.php (Custom Security Library) PHP Code: <?php 1. In CI3, this current project had several different custom libraries in use in CI3's application/core, CI3's application/libraries, and CI3's system/libraries directories. My question is here in CI4, I only see one "Libraries" directory in app/Libraries. Is this one location where ALL of my libraries would go? Or do I need to divide them between this directory and put others somewhere else? 2. In CI3, this project had a custom controller and a custom security exception. So, again where would these files go? 3. I know in CI4, we often use BaseController as our extendable controller base class. The custom controller from CI3 that I am referring to was basically doing something very similar to what the BaseController class does in CI4. So my issue is, do I just add the custom parameters to BaseController or do I add the custom controller class into some special directory? Any help would be greatly appreciated! Thanks |
Messages In This Thread |
Converting a CI3 Project to CI4.5.1 - by Josh1985 - 05-10-2024, 07:30 PM
RE: Coverting a CI3 Project to CI4.5.1 - by ozornick - 05-10-2024, 08:54 PM
RE: Coverting a CI3 Project to CI4.5.1 - by Josh1985 - 05-10-2024, 09:30 PM
RE: Coverting a CI3 Project to CI4.5.1 - by kenjis - 05-11-2024, 01:17 AM
RE: Converting a CI3 Project to CI4.5.1 - by InsiteFX - 05-10-2024, 10:11 PM
RE: Converting a CI3 Project to CI4.5.1 - by Josh1985 - 05-12-2024, 09:40 PM
RE: Converting a CI3 Project to CI4.5.1 - by ozornick - 05-10-2024, 10:38 PM
RE: Converting a CI3 Project to CI4.5.1 - by ozornick - 05-12-2024, 10:19 PM
|